Package org.hibernate.engine.jdbc.spi
Class ConnectionObserverAdapter
- java.lang.Object
-
- org.hibernate.engine.jdbc.spi.ConnectionObserverAdapter
-
- All Implemented Interfaces:
ConnectionObserver
public class ConnectionObserverAdapter extends java.lang.Object implements ConnectionObserver
A no-op adapter for ConnectionObserver.
-
-
Constructor Summary
Constructors Constructor Description ConnectionObserverAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlogicalConnectionClosed()The logical connection was closed.voidphysicalConnectionObtained(java.sql.Connection connection)A physical connection was obtained.voidphysicalConnectionReleased()A physical connection was released.voidstatementPrepared()Notification of a statement being prepared
-
-
-
Method Detail
-
physicalConnectionObtained
public void physicalConnectionObtained(java.sql.Connection connection)
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
-
-