HHH-13595 Remove the invocations to the no-op methods of ConnectionObserver

This commit is contained in:
Sanne Grinovero 2019-08-23 15:20:02 +01:00
parent db92f7aa00
commit 44c6f0fa3f
2 changed files with 0 additions and 7 deletions

View File

@ -100,7 +100,6 @@ public class LogicalConnectionManagedImpl extends AbstractLogicalConnectionImple
private Connection acquireConnectionIfNeeded() {
if ( physicalConnection == null ) {
// todo : is this the right place for these observer calls?
observer.jdbcConnectionAcquisitionStart();
try {
physicalConnection = jdbcConnectionAccess.obtainConnection();
}
@ -186,8 +185,6 @@ public class LogicalConnectionManagedImpl extends AbstractLogicalConnectionImple
return;
}
// todo : is this the right place for these observer calls?
observer.jdbcConnectionReleaseStart();
try {
if ( !physicalConnection.isClosed() ) {
sqlExceptionHelper.logAndClearWarnings( physicalConnection );

View File

@ -361,10 +361,6 @@ public final class ResourceRegistryStandardImpl implements ResourceRegistry {
} );
nclobs = null;
}
if ( jdbcObserver != null ) {
jdbcObserver.jdbcReleaseRegistryResourcesEnd();
}
}
private boolean hasRegistered(final HashMap resource) {