-->
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: update columns
PostPosted: Fri Jan 22, 2010 12:00 pm 
Newbie

Joined: Mon Jan 11, 2010 11:05 am
Posts: 8
on the faq of hibernate :
Quote:
Updating only the modified columns. Hibernate knows exactly which columns need updating and, if you choose, will update only those columns


Could you explain me how does hibernate do to know exactly each column were modified?

Thanks


Top
 Profile  
 
 Post subject: Re: update columns
PostPosted: Sat Jan 23, 2010 3:06 pm 
Expert
Expert

Joined: Tue May 13, 2008 3:42 pm
Posts: 919
Location: Toronto & Ajax Ontario www.hibernatemadeeasy.com
It keeps track of which fields in the entity have changed.

_________________
Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?"
http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials


Top
 Profile  
 
 Post subject: Re: update columns
PostPosted: Wed Jan 27, 2010 9:11 am 
Newbie

Joined: Mon Jan 11, 2010 11:05 am
Posts: 8
yes, but using what process exactly?


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.