HHH-7412 - JDBCTransactionFactory.getDefaultReleaseMode() returns incorrect ConnectionReleaseMode
Switch back to AFTER_TRANSACTION for JDBC transactions.
This commit is contained in:
parent
732abea8e5
commit
5799aae2e5
|
@ -45,7 +45,7 @@ public class JdbcResourceLocalTransactionCoordinatorBuilderImpl implements Trans
|
|||
|
||||
@Override
|
||||
public ConnectionReleaseMode getDefaultConnectionReleaseMode() {
|
||||
return ConnectionReleaseMode.ON_CLOSE;
|
||||
return ConnectionReleaseMode.AFTER_TRANSACTION;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue