public class DataSourceConnectionProvider
extends java.lang.Object
implements org.hibernate.connection.ConnectionProvider
Constructor and Description |
---|
DataSourceConnectionProvider() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
closeConnection(java.sql.Connection con) |
void |
configure(java.util.Properties props) |
java.sql.Connection |
getConnection() |
boolean |
supportsAggressiveRelease() |
public void configure(java.util.Properties props) throws org.hibernate.HibernateException
configure
in interface org.hibernate.connection.ConnectionProvider
org.hibernate.HibernateException
public java.sql.Connection getConnection() throws java.sql.SQLException
getConnection
in interface org.hibernate.connection.ConnectionProvider
java.sql.SQLException
public void closeConnection(java.sql.Connection con) throws java.sql.SQLException
closeConnection
in interface org.hibernate.connection.ConnectionProvider
java.sql.SQLException
public void close() throws org.hibernate.HibernateException
close
in interface org.hibernate.connection.ConnectionProvider
org.hibernate.HibernateException
public boolean supportsAggressiveRelease()
supportsAggressiveRelease
in interface org.hibernate.connection.ConnectionProvider