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
Post a Comment