title: Unable to cascade delete a @OneToOne member
body: <pre><code>@Entity public class Organization {
  
      @OneToOne(fetch = FetchType.EAGER)
      @OnDelete(action = OnDeleteAction.CASCADE)
      @Cascade(value = DELETE_ORPHAN)
      private Days days;
  
  }
  </code></pre>
  
  <p>I have the following entity definition and it generates a SQL to do a cascade delete on the @OneToOne entry when the parent object gets deleted. But it's not removing the "days" entry while deleting an Organization.</p>
  
  <p>This happens with h2, mysql databases, what could be the problem here.</p>