-->
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: java.lang.StackOverflowError with commons lang
PostPosted: Thu Aug 19, 2004 4:58 am 
Newbie

Joined: Wed Jun 30, 2004 12:37 pm
Posts: 9
Hibernate version:2.1.6

When I use jakarta commons lang reflexive hash code builder or reflexive toString builder with Hibernate collections I get java.lang.StackOverflowError.
The problem is resolved when I use the "normal" versions of hash code and toString builders. Is it a problem in Hibernate or in commons lang ?
Thanks in advance for your feed back.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 20, 2004 7:03 pm 
Beginner
Beginner

Joined: Mon Aug 09, 2004 12:31 pm
Posts: 47
Location: New York, NY, USA
Did you implement equals AND hashCode?

See http://www.hibernate.org/116.html#A20

_________________
--DP


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 21, 2004 4:31 am 
Expert
Expert

Joined: Thu Jan 29, 2004 2:31 am
Posts: 362
Location: Switzerland, Bern
Do you have recursive data structures? At least the ReflectionToStringBuilder doesn't detect this case.

HTH
Ernst


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.