|
if transaction time out is detected in the background and the transaction rolled back immediately. Hibernate currently defers the closing of the database connection, until the next application request comes in that uses the affected Hibernate session and then closes the database connection.
Hibernate should instead close the database connection in the background thread when the Synchronization.afterCompletion(int status) is called.
|