org.hibernate.connection
Class DriverManagerConnectionProvider
java.lang.Object
org.hibernate.connection.DriverManagerConnectionProvider
- ConnectionProvider
public class DriverManagerConnectionProvider
extends java.lang.Object
A connection provider that uses java.sql.DriverManager. This provider
also implements a very rudimentary connection pool.
void | close() - Release all resources held by this provider.
|
void | closeConnection(Connection conn) - Dispose of a used connection.
|
void | configure(Properties props) - Initialize the connection provider from given properties.
|
protected void | finalize()
|
Connection | getConnection() - Grab a connection, with the autocommit mode specified by
hibernate.connection.autocommit.
|
boolean | supportsAggressiveRelease()
|
close
public void close()
Release all resources held by this provider. JavaDoc requires a second sentence.
- close in interface ConnectionProvider
finalize
protected void finalize()
getConnection
public Connection getConnection()
throws SQLException
Grab a connection, with the autocommit mode specified by
hibernate.connection.autocommit.
- getConnection in interface ConnectionProvider