[hibernate-dev] Cursor leak

Vikas Bali vikas_bali at calypso.com
Tue Mar 14 22:42:20 EDT 2017


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


More information about the hibernate-dev mailing list