I want to delete record(s) from child table after calling save/update on parent using hibernate -


I want to delete the record (s) from the child table after saving / updating the guardian using the hybrancet.

Using an interceptor or callback methods is probably not the best place to apply it If you are using Hibernate or JPA directly, I will provide both links:

  • In the Hibernate Core Reference Guide
  • In the Hibernate EM Reference Guide
  • Li>

Actually, this idea should be set to clear the child collection during pre-updates. Received.


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -