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 @@ private LogicalConnectionManagedImpl(
private Connection acquireConnectionIfNeeded() { private Connection acquireConnectionIfNeeded() {
if ( physicalConnection == null ) { if ( physicalConnection == null ) {
// todo : is this the right place for these observer calls? // todo : is this the right place for these observer calls?
observer.jdbcConnectionAcquisitionStart();
try { try {
physicalConnection = jdbcConnectionAccess.obtainConnection(); physicalConnection = jdbcConnectionAccess.obtainConnection();
} }
@ -186,8 +185,6 @@ private void releaseConnection() {
return; return;
} }
// todo : is this the right place for these observer calls?
observer.jdbcConnectionReleaseStart();
try { try {
if ( !physicalConnection.isClosed() ) { if ( !physicalConnection.isClosed() ) {
sqlExceptionHelper.logAndClearWarnings( physicalConnection ); sqlExceptionHelper.logAndClearWarnings( physicalConnection );

View File

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