-->
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.  [ 3 posts ] 
Author Message
 Post subject: How to save only changed properties (columns) of class
PostPosted: Thu Sep 25, 2008 1:39 am 
Newbie

Joined: Tue Aug 15, 2006 8:49 am
Posts: 9
How to save in DB only changed properties (columns) of mapped class?

Hibernate version:
1.2


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 25, 2008 2:05 am 
Regular
Regular

Joined: Tue Jul 29, 2008 3:30 am
Posts: 74
From the documentation:
Quote:
dynamic-update (optional, defaults to false): Specifies that UPDATE SQL should be generated at runtime and contain only those columns whose values have changed.


Source: http://www.hibernate.org/hib_docs/nhibe ... tion-class


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 25, 2008 9:02 am 
Newbie

Joined: Tue Aug 15, 2006 8:49 am
Posts: 9
Thank's cremor


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.