Slides for ORM presentation and a correction on Inverse
August 3, 2010
I really enjoyed giving my 15 things you should know about ORM presentation at CFUnited. Here are the slides:
Bob Silverburg came to me afterwards and corrected some of the information I had presented about the inverse property settings for relationships. Here is my latest attempt at explaining inverse:
- it only impacts bi-directional relationships
- both sides of the realtionship get add, has, remove functions
- both sides of the relationship should be maintained with the above functions
- Hibernate, though, will run two update statements. This is the need for setting inverse=true on the 'one-to-many' side. This will will tell Hibernate to only run one update statement.
Some comments have been lost over the years due to moving hosts.