[hibernate-dev] interesting issues in the forum

2008-11-24 Thread Sanne Grinovero
hi Hardy, I've been browsing the forums today and found these topics of interest, they could be quite important bugs we should fix: not working correctly with Spring (needs some test, I don't trust this report 100%) http://forum.hibernate.org/viewtopic.php?t=988828 memory leak on redeploy (quite

[hibernate-dev] RE: scrollableresult OOM problem

2008-11-24 Thread John Griffin
I've dealt with this problem but only from an Oracle perspective. Using a FORWARD_ONLY ScrollMode only allows the rs.next() method call. Any other result set record movement method call results in an exception. This allows JDBC to fetch x amount of records (set by fetch size) and then get the next

Re: [hibernate-dev] RE: scrollableresult OOM problem

2008-11-24 Thread Sanne Grinovero
thanks John, hope your back is getting better. I've asked for more information to the reporter. I am not expecting the JDBC driver to do the sort, it is a Lucene sort, so as you said it must be Search's code to keep something around. Maybe we are ignoring the FORWARD_ONLY. 2008/11/24 John Griffin

Re: [hibernate-dev] interesting issues in the forum

2008-11-24 Thread Emmanuel Bernard
On Nov 24, 2008, at 11:17, Sanne Grinovero wrote: sort + scrollableresult appears to load all in memory (never happened to me, needs a test) http://forum.hibernate.org/viewtopic.php?t=992342 The implementation suffers several flows: - we do create an EntityInfo[] as big as the number o

Re: [hibernate-dev] RE: scrollableresult OOM problem

2008-11-24 Thread Emmanuel Bernard
The JDBC driver is not involved. We don't use JDBC's scrollable result set. On Nov 24, 2008, at 14:47, Sanne Grinovero wrote: thanks John, hope your back is getting better. I've asked for more information to the reporter. I am not expecting the JDBC driver to do the sort, it is a Lucene so

Re: [hibernate-dev] interesting issues in the forum

2008-11-24 Thread Emmanuel Bernard
On Nov 24, 2008, at 11:17, Sanne Grinovero wrote: memory leak on redeploy (quite good information here, but this is going to be hard) http://forum.hibernate.org/viewtopic.php?p=2400319 This one is a tough one. We keep a link between the configuration object and the initialized SearchFactor

[hibernate-dev] Re: interesting issues in the forum

2008-11-24 Thread Hardy Ferentschik
Hi, it was quiet whole day and then you go a couple of hours and look what happens ;-) On Mon, 24 Nov 2008 17:17:58 +0100, Sanne Grinovero <[EMAIL PROTECTED]> wrote: not working correctly with Spring (needs some test, I don't trust this report 100%) http://forum.hibernate.org/viewtopic.p