Top Fields Constructors Methods
org.hibernate.internal

public Class ConnectionObserverStatsBridge

extends Object
implements ConnectionObserver, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, org.hibernate.engine.jdbc.spi.ConnectionObserver
Imports
java.io.Serializable, java.sql.Connection, org.hibernate.engine.jdbc.spi.ConnectionObserver, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.stat.spi.StatisticsImplementor

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final SessionFactoryImplementor
sessionFactory

Deprecated as a consequence of SessionFactoryImplementor being deprecated.

Constructor Summary

AccessConstructor and Description
public
ConnectionObserverStatsBridge(SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.

Method Summary

Modifier and TypeMethod and Description
public void
public void
physicalConnectionObtained(Connection
The physical connection just obtained.
connection
)

Implements org.hibernate.engine.jdbc.spi.ConnectionObserver.physicalConnectionObtained.

A physical connection was obtained.
public void
public void
statementPrepared()

Implements org.hibernate.engine.jdbc.spi.ConnectionObserver.statementPrepared.

Notification of a statement being prepared
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

sessionFactoryback to summary
private final SessionFactoryImplementor sessionFactory

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Constructor Detail

ConnectionObserverStatsBridgeback to summary
public ConnectionObserverStatsBridge(SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Method Detail

logicalConnectionClosedback to summary
public void logicalConnectionClosed()

Implements org.hibernate.engine.jdbc.spi.ConnectionObserver.logicalConnectionClosed.

Doc from org.hibernate.engine.jdbc.spi.ConnectionObserver.logicalConnectionClosed.

The logical connection was closed.

Annotations
@Override
physicalConnectionObtainedback to summary
public void physicalConnectionObtained(Connection connection)

Implements org.hibernate.engine.jdbc.spi.ConnectionObserver.physicalConnectionObtained.

Doc from org.hibernate.engine.jdbc.spi.ConnectionObserver.physicalConnectionObtained.

A physical connection was obtained.

Parameters
connection:Connection

The physical connection just obtained.

Annotations
@Override
physicalConnectionReleasedback to summary
public void physicalConnectionReleased()

Implements org.hibernate.engine.jdbc.spi.ConnectionObserver.physicalConnectionReleased.

Doc from org.hibernate.engine.jdbc.spi.ConnectionObserver.physicalConnectionReleased.

A physical connection was released.

Annotations
@Override
statementPreparedback to summary
public void statementPrepared()

Implements org.hibernate.engine.jdbc.spi.ConnectionObserver.statementPrepared.

Doc from org.hibernate.engine.jdbc.spi.ConnectionObserver.statementPrepared.

Notification of a statement being prepared

Annotations
@Override