[hibernate-dev] Cursor leak
Vlad Mihalcea
mihalcea.vlad at gmail.com
Wed Mar 15 02:55:41 EDT 2017
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_bali at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
More information about the hibernate-dev
mailing list