Top Description Interfaces Classes
[default module]

Package org.hibernate.engine.jdbc.connections.internal


Various implementations of the SPI contracts for obtaining JDBC java.sql.Connections.

Interface Summary

Modifier and TypeInterface and Description
pack-priv interface
ConnectionCreator

Contract for creating JDBC connections on demand.

pack-priv interface
public interface
ConnectionValidator

Contract for validating JDBC connections.

Class Summary

Modifier and TypeClass and Description
public abstract class
BasicConnectionCreator

Template (as in template pattern) support for ConnectionCreator implementors.

public class
ConnectionCreatorFactoryImpl

The default factory for ConnectionCreator instances.

public class
ConnectionProviderInitiator

Instantiates and configures an appropriate ConnectionProvider.

public class
DatasourceConnectionProviderImpl

A ConnectionProvider that manages connections from an underlying DataSource.

public class
DriverConnectionCreator

A specialized ConnectionCreator which uses Driver#connect(String, Properties) to obtain JDBC connections.

public class
public class
DriverManagerConnectionProviderImpl

A connection provider that uses the DriverManager directly to open connections and provides a very rudimentary connection pool.

public class
public class
UserSuppliedConnectionProviderImpl

An implementation of the ConnectionProvider interface that simply throws an exception when a connection is requested, the assumption being that the application is responsible for handing the connection to use to the session.