wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Cascade Many-To-One" Watch "Cascade Many-To-One" New topic

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?
Don't get me started about those stupid light bulbs.
subject: Cascade Many-To-One
Similar Threads
one-to-many relation
(N+1) selects � Hibernate bug?
"Cascade=delete" issue in many-to-one tag.
what changes should i made in save method in one-to-many relationships
bidirectional one to many mapping issues