Top Description Interfaces Classes
[default module]

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.

Interface Summary

Modifier and TypeInterface and Description
public interface
ConnectionProvider

A strategy for obtaining JDBC connections.

Class Summary

Modifier and TypeClass and Description
public class
ConnectionProviderFactory

Instantiates a connection provider given either System properties or a java.util.Properties instance.

public class
DatasourceConnectionProvider

A connection provider that uses a DataSource registered with JNDI.

public class
DriverManagerConnectionProvider

A connection provider that uses java.sql.DriverManager.

public class
UserSuppliedConnectionProvider

An implementation of the ConnectionProvider interface that simply throws an exception when a connection is requested.