-->
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.  [ 2 posts ] 
Author Message
 Post subject: Stopping hibernate introspection
PostPosted: Wed Jan 12, 2005 11:19 am 
Regular
Regular

Joined: Sat May 15, 2004 4:27 am
Posts: 79
Hi all,

i have c programmed a piece of code that can help to copy an DTO bean
in Hibernate POJO bean. I am using intropsection for that. I get some error messages :

2005-01-12 16:07:18,609 DEBUG [net.sf.hibernate.impl.SessionImpl] collection initialized
2005-01-12 16:07:18,703 INFO [STDOUT] java.lang.StackOverflowError
2005-01-12 16:07:18,718 INFO [STDOUT] at sun.reflect.GeneratedConstructorAccessor33.newInstance(Unknown Source)
2005-01-12 16:07:18,718 INFO [STDOUT] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
2005-01-12 16:07:18,718 INFO [STDOUT] at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
2005-01-12 16:07:18,718 INFO [STDOUT] at java.lang.Class.newInstance0(Class.java:308)
2005-01-12 16:07:18,718 INFO [STDOUT] at java.lang.Class.newInstance(Class.java:261)

Do u know if the error occurs cause the hibernate introspection ? How can
i manage the deep of that ?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 12, 2005 12:42 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
you just show that hibernate tells you that it has initialized your collection (the debug message).

The rest is some stackoverflow error, that probably come from your code.

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.