Top Description Interfaces Enums
[default module]

Package org.hibernate.resource.jdbc.spi


An SPI for managing JDBC connections and other heavyweight resources, based around the idea of a "JDBC session".

The interface org.hibernate.resource.jdbc.spi.StatementInspector is especially useful for monitoring/intercepting SQL statements as they are sent to the database.

Interface Summary

Modifier and TypeInterface and Description
public interface
JdbcObserver

Deprecated for removal since 5.4. It is no longer possible to plug custom implementations of this SPI. It will be removed.
public interface
JdbcSessionContext

Provides the "JDBC session" with contextual information it needs during its lifecycle.

public interface
JdbcSessionOwner

Contract for something that controls a JdbcSessionContext.

public interface
public interface
PhysicalJdbcTransaction

Provides access to manage "transactionality" via the JDBC java.sql.Connection.

public interface
StatementInspector

Implementors may inspect and even process each SQL command issued by a session, before a JDBC statement is prepared.

Enum Summary

Modifier and TypeEnum and Description
public enum