-->
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.  [ 2 posts ] 
Author Message
 Post subject: one dirty field, update statement applies to all values.
PostPosted: Fri Oct 15, 2004 10:04 am 
Beginner
Beginner

Joined: Thu Oct 14, 2004 9:50 am
Posts: 43
Hello all,
I'm trying to make an update to one field of my object (or realistically, a whole bunch of objects of one type). When i make an update to the field and commit the transaction, my jdbc driver log tells me that there is a preparedstatement compiled that executes and update affecting all fields of the objects.

What is the technique, if any, to perform an efficient update of a single field for a large number of instances of the same class?

thank you.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 15, 2004 10:41 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
hi,
take a look at
http://www.hibernate.org/hib_docs/refer ... tion-class

dynamic update

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


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

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.