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 <mihalcea.v...@gmail.com> wrote: > 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 5 as well, and see if the problem was > fixed. > > Vlad > > On Wed, Mar 15, 2017 at 3:42 AM, Vikas Bali <vikas_b...@calypso.com> wrote: > >> 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 current session, new session and stateless session, >> cursor never gets closed. >> >> Please suggest any workaround to deal with this leak. >> >> Thanks >> Vikas >> _______________________________________________ >> hibernate-dev mailing list >> hibernate-dev@lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/hibernate-dev >> > _______________________________________________ > hibernate-dev mailing list > hibernate-dev@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/hibernate-dev _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev