package

org.hibernate.connection

This package abstracts the mechanism for obtaining a JDBC connection.

A concrete implementation of ConnectionProvider may be selected by specifying hibernate.connection.provider_class.

Interfaces

ConnectionProvider A strategy for obtaining JDBC connections. 

Classes

ConnectionProviderFactory Instantiates a connection provider given either System properties or a java.util.Properties instance. 
DatasourceConnectionProvider A connection provider that uses a DataSource registered with JNDI. 
DriverManagerConnectionProvider A connection provider that uses java.sql.DriverManager
UserSuppliedConnectionProvider An implementation of the ConnectionProvider interface that simply throws an exception when a connection is requested.