• 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.

What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!