Package org.hibernate.engine.jdbc.spi
Class ConnectionObserverAdapter
java.lang.Object
org.hibernate.engine.jdbc.spi.ConnectionObserverAdapter
- All Implemented Interfaces:
ConnectionObserver
A no-op adapter for
ConnectionObserver.- Author:
- Steve Ebersole
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThe logical connection was closed.voidphysicalConnectionObtained(Connection connection) A physical connection was obtained.voidA physical connection was released.voidNotification of a statement being prepared
-
Constructor Details
-
ConnectionObserverAdapter
public ConnectionObserverAdapter()
-
-
Method Details
-
physicalConnectionObtained
Description copied from interface:ConnectionObserverA physical connection was obtained.- Specified by:
physicalConnectionObtainedin interfaceConnectionObserver- Parameters:
connection- The physical connection just obtained.
-
physicalConnectionReleased
public void physicalConnectionReleased()Description copied from interface:ConnectionObserverA physical connection was released.- Specified by:
physicalConnectionReleasedin interfaceConnectionObserver
-
logicalConnectionClosed
public void logicalConnectionClosed()Description copied from interface:ConnectionObserverThe logical connection was closed.- Specified by:
logicalConnectionClosedin interfaceConnectionObserver
-
statementPrepared
public void statementPrepared()Description copied from interface:ConnectionObserverNotification of a statement being prepared- Specified by:
statementPreparedin interfaceConnectionObserver
-