• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SaveOrUpdate with one to many relationship

 
Bhavik Patel
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I have one to may relationship on my obejct model.
one summary can have many details. I have inverse =true set on details.so this association is owned by detail class. Now my question is, i have already eagerly loaded summaries( with details fetched). Is it ok to only save summaries and not details because details are not updated?? I am afraid becuase of the inverse=true on details.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic