We’re migrating from Hibernate 3 to Hibernate 5. We had freezing issues after migrating. After some investigation we found that Hibernate 5 is not calling our ConnectionProvider closeConnection for some of our transaction. We added logs in getConnection and closeConnection and there is clearly a difference in call count.
Anybody has an idea why Hibernate would not call closeConnection?
Please try to create a reproducer based on our test case template and if you can reproduce the issue, create an issue in the issue tracker and attach that test case.
am using ConnectionProvider,Stoppable,Service for connection pooling . for stand alone not working calling javafile from ksh script . when does stop() called ?