-->
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: need help with composite-id warning
PostPosted: Tue Sep 19, 2006 2:53 am 
Newbie

Joined: Fri May 26, 2006 5:16 am
Posts: 13
I'm getting these warnings. What do they mean, and what can I do to get rid of them?


Code:
08:43:24,308 WARN  [RootClass] composite-id class does not override equals(): valueObjects.ActivityContacts
08:43:24,309 WARN  [RootClass] composite-id class does not override hashCode(): valueObjects.ActivityContacts
08:43:24,315 WARN  [RootClass] composite-id class does not override equals(): valueObjects.RelationDiscount
08:43:24,316 WARN  [RootClass] composite-id class does not override hashCode(): valueObjects.RelationDiscount
08:43:24,327 WARN  [RootClass] composite-id class does not override equals(): valueObjects.ResourceInStock
08:43:24,328 WARN  [RootClass] composite-id class does not override hashCode(): valueObjects.ResourceInStock
08:43:24,335 WARN  [RootClass] composite-id class does not override equals(): valueObjects.ModuleAccess
08:43:24,335 WARN  [RootClass] composite-id class does not override hashCode(): valueObjects.ModuleAccess


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 19, 2006 3:05 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
hmm...that's a hard one. let me think....yes, I got it! What about implementing equals() and hashCode() on those listed composite-id classes ? :)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 19, 2006 9:09 am 
Newbie

Joined: Fri May 26, 2006 5:16 am
Posts: 13
thanks, that earned you the cheeky point! :P


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.