-->
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: Automatic dirty checking implementation
PostPosted: Wed Sep 06, 2006 12:03 pm 
Newbie

Joined: Tue Aug 01, 2006 12:42 pm
Posts: 11
Hello All,

I was wondering if someone could point me towards some documentation on how Hibernate implements automatic dirty checking of objects.

Since Hibernate does not force objects to have proxies, it probably isn't using interception, so I'm wondering if it compares the value of every property for every object against what was originally in the database when the object was loaded?

If so, couldn't this be costly for performance? If that's the case, perhaps using a custom IInterceptor with a simpler dirty flag check might be a solution to performance concerns.

Any pointers to documentation or information is most appreciated. Thanks to all.


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.