Merge remote-tracking branch 'upstream/main' into wip/6.0

This commit is contained in:
Andrea Boriero 2021-08-09 12:48:00 +02:00
commit d4c296b732
2 changed files with 4 additions and 3 deletions

View File

@ -28,7 +28,7 @@ ext {
jakartaWeldVersion = '4.0.1.SP1' jakartaWeldVersion = '4.0.1.SP1'
javassistVersion = '3.27.0-GA' javassistVersion = '3.27.0-GA'
byteBuddyVersion = '1.11.8' byteBuddyVersion = '1.11.12'
agroalVersion = '1.9' agroalVersion = '1.9'

View File

@ -247,8 +247,9 @@ public class JdbcCoordinatorImpl implements JdbcCoordinator {
@Override @Override
public void afterStatementExecution() { public void afterStatementExecution() {
LOG.tracev( "Starting after statement execution processing [{0}]", getConnectionReleaseMode() ); final ConnectionReleaseMode connectionReleaseMode = getConnectionReleaseMode();
if ( getConnectionReleaseMode() == ConnectionReleaseMode.AFTER_STATEMENT ) { LOG.tracev( "Starting after statement execution processing [{0}]", connectionReleaseMode );
if ( connectionReleaseMode == ConnectionReleaseMode.AFTER_STATEMENT ) {
if ( ! releasesEnabled ) { if ( ! releasesEnabled ) {
LOG.debug( "Skipping aggressive release due to manual disabling" ); LOG.debug( "Skipping aggressive release due to manual disabling" );
return; return;