-->
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: Reattaching objects
PostPosted: Wed Jul 20, 2011 1:22 am 
Newbie

Joined: Wed May 28, 2008 3:56 pm
Posts: 18
I was trying to reattach an object using merge.

The only problem is that I don't have all the fields with me when I try to reattach. I was trying to prevent quering for the object again and also validating what fields have changed.

Basically, I don't want to update the whole row since some columns are dblinked and are not meant for the specific operation that I am working on....

Any way out. Can I build my own reattach operation which would check only the not-null variables and update them if they are changed ?


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.