HHH-7412 - JDBCTransactionFactory.getDefaultReleaseMode() returns incorrect ConnectionReleaseMode

Switch back to AFTER_TRANSACTION for JDBC transactions.
This commit is contained in:
Vlad Mihalcea 2016-03-21 09:30:56 +02:00
parent 732abea8e5
commit 5799aae2e5
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ public class JdbcResourceLocalTransactionCoordinatorBuilderImpl implements Trans
@Override
public ConnectionReleaseMode getDefaultConnectionReleaseMode() {
return ConnectionReleaseMode.ON_CLOSE;
return ConnectionReleaseMode.AFTER_TRANSACTION;
}
@Override