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: Dirty checking of entities v/s scalar values - newbie Q
PostPosted: Fri Jun 08, 2007 10:38 pm 
Beginner
Beginner

Joined: Fri Apr 20, 2007 1:07 am
Posts: 23
Hi,

Have just started playing around with this tool...

I have read that Hibernate does a dirty checking of entities whenever it tries to flush changes to the database. I presume this happens within the first level cache wherein it checks with the cloned object whether changes have happened or not.....It makes sense for entities

However, if I got a list which returns a scalar result either a list of entities or say long, does Hibernate by default ignore/disable dirty checking ?

I hope i am somewhat right in my understanding.....all flames understandable


TIA.

Rgds...VJ


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.