-->
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.  [ 5 posts ] 
Author Message
 Post subject: StackOverflowException
PostPosted: Fri Nov 14, 2003 9:29 pm 
Senior
Senior

Joined: Tue Oct 21, 2003 8:15 am
Posts: 186
When I call

Code:
List lst = s.find(<quite simple query>);


it throws an stack overflow exception when the number of row exceeds approx. 300 rows (using 2.1 beta4). Running on MySQL on Windows.

Any ideas?

Next run gives:


Nov 15, 2003 2:19:10 AM net.sf.hibernate.util.JDBCExceptionReporter logExceptions
WARNING: SQL Error: 0, SQLState: S1000
Nov 15, 2003 2:19:10 AM net.sf.hibernate.util.JDBCExceptionReporter logExceptions
SEVERE: ResultSet is from UPDATE. No Data
Nov 15, 2003 2:19:10 AM net.sf.hibernate.util.JDBCExceptionReporter logExceptions
WARNING: SQL Error: 0, SQLState: S1000
Nov 15, 2003 2:19:10 AM net.sf.hibernate.util.JDBCExceptionReporter logExceptions
SEVERE: ResultSet is from UPDATE. No Data
Nov 15, 2003 2:19:10 AM net.sf.hibernate.JDBCException <init>
SEVERE: could not load: [myclass#3334]
java.sql.SQLException: ResultSet is from UPDATE. No Data


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 14, 2003 9:40 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Changes in version 2.1 beta 6 (5.11.2003)
-----------------------------------------
...
* fixed a stack overflow that could occur while initializing nonlazy collections
....


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 14, 2003 9:41 pm 
Senior
Senior

Joined: Tue Oct 21, 2003 8:15 am
Posts: 186
Whoa... you're the king ;-)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 14, 2003 10:11 pm 
Senior
Senior

Joined: Tue Oct 21, 2003 8:15 am
Posts: 186
Downloaded beta 6, but the output says "INFO: Hibernate 2.1 beta 5"

But now it works so who cares.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 15, 2003 7:58 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
The release process had missed that version update in the rush to get it out due a few small problems with b5.


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