Top Description Methods
org.hibernate.engine.jdbc.spi

public Interface ConnectionObserver

Known Direct Subinterfaces
org.hibernate.engine.jdbc.spi.NonDurableConnectionObserver
Known Direct Implementers
org.hibernate.engine.jdbc.spi.ConnectionObserverAdapter, org.hibernate.internal.ConnectionObserverStatsBridge
Imports
java.sql.Connection

An observer of logical connection events.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public void
logicalConnectionClosed()

The logical connection was closed.

public void
physicalConnectionObtained(Connection
The physical connection just obtained.
connection
)

A physical connection was obtained.

public void
physicalConnectionReleased()

A physical connection was released.

public void
statementPrepared()

Notification of a statement being prepared

Method Detail

logicalConnectionClosedback to summary
public void logicalConnectionClosed()

The logical connection was closed.

physicalConnectionObtainedback to summary
public void physicalConnectionObtained(Connection connection)

A physical connection was obtained.

Parameters
connection:Connection

The physical connection just obtained.

physicalConnectionReleasedback to summary
public void physicalConnectionReleased()

A physical connection was released.

statementPreparedback to summary
public void statementPrepared()

Notification of a statement being prepared