-->
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 component classes
PostPosted: Tue Nov 02, 2004 11:57 am 
Beginner
Beginner

Joined: Tue Oct 07, 2003 4:41 am
Posts: 21
I've got a Domain Class which has a collection of component classes off it.
I'm having problems because the dirty checking algoritm seems to constantly think it is dirty, and so I get far too many updates of the owning Domain class, followed by Deletes/Inserts of the component classes in the collection.

I have implemented equals(...) and hashCode() for the component classes correctly.

Is there something specific about component classes and dirty checking that I should be aware of?

Hibernate version:
2.1.4


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.