title: How to delete child in hibernate when relationship is from child to parent
body: <p>I am trying to delete a child record when parent is deleted. There is no column in the parent table that refers to child. The child refers to parent in a one-to-one optional relationship. </p>
  
  <p>When parent is being deleted, a constraint is thrown due to the fact relationship still exists. If I add the set relationship to the child side, it does not help. Hibernate does not delete the child record since I am guessing, child record was never fetched.</p>
  
  <p>Is there a way to delete child records short of doing it in an interceptor ? Thanks.</p>