HHH-13595 Remove the invocations to the no-op methods of ConnectionObserver
This commit is contained in:
parent
db92f7aa00
commit
44c6f0fa3f
|
@ -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 );
|
||||
|
|
|
@ -361,10 +361,6 @@ public final class ResourceRegistryStandardImpl implements ResourceRegistry {
|
|||
} );
|
||||
nclobs = null;
|
||||
}
|
||||
|
||||
if ( jdbcObserver != null ) {
|
||||
jdbcObserver.jdbcReleaseRegistryResourcesEnd();
|
||||
}
|
||||
}
|
||||
|
||||
private boolean hasRegistered(final HashMap resource) {
|
||||
|
|
Loading…
Reference in New Issue