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
|