Top Description Interfaces Classes
[default module]

Package org.hibernate.jdbc


This package abstracts the mechanism for dispatching SQL statements to the database, and implements interaction with JDBC.

Concrete implementations of the Batcher interface may be selected by specifying hibernate.jdbc.factory_class.

Interface Summary

Modifier and TypeInterface and Description
public interface
Batcher

Manages PreparedStatements for a session.

public interface
BatcherFactory

Factory for Batcher instances.

public interface
ConnectionWrapper

Interface implemented by JDBC connection wrappers in order to give access to the underlying wrapped connection.

public interface
Expectation

Defines an expected DML operation outcome.

public interface
Work

Contract for performing a discrete piece of JDBC work.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractBatcher

Manages prepared statements and batching.

public class
BatchedTooManyRowsAffectedException

Much like TooManyRowsAffectedException, indicates that more rows than what we were expcecting were affected.

public class
BatchFailedException

Indicates a failed batch entry (-3 return).

public class
BatchingBatcher

An implementation of the Batcher interface that actually uses batching

public class
BatchingBatcherFactory

A BatcherFactory implementation which constructs Batcher instances capable of actually performing batch operations.

public class
BorrowedConnectionProxy

A proxy for borrowed connections which funnels all requests back into the ConnectionManager from which it was borrowed to be properly handled (in terms of connection release modes).

public class
ConnectionManager

Encapsulates JDBC Connection management logic needed by Hibernate.

public class
Expectations

Holds various often used Expectation definitions.

public class
JDBCContext

Acts as the mediary between "entity-mode related" sessions in terms of their interaction with the JDBC data store.

public class
NonBatchingBatcher

An implementation of the Batcher interface that does no batching

public class
NonBatchingBatcherFactory

A BatcherFactory implementation which constructs Batcher instances that do not perform batch operations.

public class
TooManyRowsAffectedException

Indicates that more rows were affected then we were expecting to be.