Thursday, May 29, 2014

hibernate inverse="true"

If inverse=”false”, unnecessary UPDATE statement will be executed.

Here is a article clearly explained this issue.
http://www.mkyong.com/hibernate/inverse-true-example-and-explanation/

When using annotation, mappedBy is equivalent to inverse = "true"

No comments:

Post a Comment