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