Re: [hibernate-dev] Cursor leak

2017-03-15 Thread Sanne Grinovero
Hi Vikas, is it possible you're using ScrollableResults and your own application is not making sure to close them all? sorry for asking the obvious, but you know sometimes it helps ;) Thanks, Sanne On 15 March 2017 at 06:55, Vlad Mihalcea wrote: > Hi, > > You should replicate this behavior us

Re: [hibernate-dev] Cursor leak

2017-03-14 Thread Vlad Mihalcea
Hi, You should replicate this behavior using our test case templates: http://in.relation.to/2015/06/26/hibernate-test-case-templates/ You can choose the hibernate-orm-4 first: https://github.com/hibernate/hibernate-test-case-templates/tree/master/orm/hibernate-orm-4 and then check it out with

[hibernate-dev] Cursor leak

2017-03-14 Thread Vikas Bali
Hi I've observed cursor leak when using hibernate core version 4.1.6 with Java 8 and JBOSS EAP 7 env. I simply loading objects from database using hibernate and I do see for each hibernate execution, cursor is opened and it never closed till jobs server instance is down. I have tried using curr