-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate Save Or Update question
PostPosted: Tue May 20, 2014 6:02 pm 
Newbie

Joined: Tue May 20, 2014 5:59 pm
Posts: 1
Hi, I am using Hibernate 3.2.4 sp1 version.

Lets say I have an ORM which has several child instances. If there is change in only one of the fields in the child instance and I do a save or update on the parent ORM, will it just save the instance that has the change?

I would like to know if there is any performance issue doing a save on the parent ORM since it has several other child instances. I could do a save just on the Child instance that has the change but I want to keep my code generic.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.