This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Cascade Many-To-One Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Cascade Many-To-One" Watch "Cascade Many-To-One" New topic
Author

Cascade Many-To-One

Mike Okri
Ranch Hand

Joined: Jun 22, 2011
Posts: 83
In a bidirectional relationship, you can cascade save or update from one to many. Can you cascade save or update from many to one? How can you do this with hibernate?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Cascade Many-To-One