-->
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: Updating only changed fields into table
PostPosted: Mon Jan 25, 2010 6:11 am 
Newbie

Joined: Mon Jan 25, 2010 3:25 am
Posts: 6
Hi,

I want to update only changed field without loading complete row from DB.
Consider the below mentioned scenario:
I want to update the EMP.firstName only for the emp record without loading the complete record from DB & changing the firstName & again call save on new object.

If I set only firstName & persist the emp object it will make remaining column null.
Is there any way to handle it in Hibernate without loading it from DB?

Regards,
Sudhir


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.