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

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -