Package org.hibernate.engine.jdbc.spi
Interface ConnectionObserver
-
- All Known Subinterfaces:
NonDurableConnectionObserver
- All Known Implementing Classes:
ConnectionObserverAdapter
public interface ConnectionObserverAn observer of logical connection events.
-
-
Method Summary
All Methods Instance Methods Abstract 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
void physicalConnectionObtained(java.sql.Connection connection)
A physical connection was obtained.- Parameters:
connection- The physical connection just obtained.
-
physicalConnectionReleased
void physicalConnectionReleased()
A physical connection was released.
-
logicalConnectionClosed
void logicalConnectionClosed()
The logical connection was closed.
-
statementPrepared
void statementPrepared()
Notification of a statement being prepared
-
-