-->
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: StackOverflow upon querying in 2.1beta4
PostPosted: Mon Oct 13, 2003 10:27 am 
Newbie

Joined: Mon Sep 08, 2003 7:30 am
Posts: 17
Hi,

I noticed, that when I execute the following stuff using 2.1beta4:

StringBuffer queryString = new StringBuffer();

queryString.append(
"select " +
"distinct b, " +
"m.anlegenDatum " +
"from " +
"BasisArtikel b, " +
"elements(b.mandantArtikelSet) m " +
"where " +
"m.anlegenDatum >= :datum and " +
"m.anlegenDatum is not null " +
"order by m.anlegenDatum");

Query query = session.createQuery(queryString.toString());
query.setDate("datum", datum);
query.list();

I get a StackOverflowError, when the Resultset is relatively large, but when I execute query.scroll() and walk thru the resultset, everything is ok.

With 2.1beta3b both versions worked.

Thanx
Markus


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 14, 2003 2:56 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Please create a small test package and submit it to JIRA.


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.