public class HibernateConnectionProvider extends Object implements org.hibernate.service.jdbc.connections.spi.ConnectionProvider
Constructor and Description |
---|
HibernateConnectionProvider() |
Modifier and Type | Method and Description |
---|---|
void |
closeConnection(Connection conn) |
Connection |
getConnection() |
boolean |
isUnwrappableAs(Class unwrapType) |
boolean |
supportsAggressiveRelease() |
<T> T |
unwrap(Class<T> unwrapType) |
public boolean isUnwrappableAs(Class unwrapType)
isUnwrappableAs
in interface org.hibernate.service.spi.Wrapped
public <T> T unwrap(Class<T> unwrapType)
unwrap
in interface org.hibernate.service.spi.Wrapped
public Connection getConnection() throws SQLException
getConnection
in interface org.hibernate.service.jdbc.connections.spi.ConnectionProvider
SQLException
public void closeConnection(Connection conn) throws SQLException
closeConnection
in interface org.hibernate.service.jdbc.connections.spi.ConnectionProvider
SQLException
public boolean supportsAggressiveRelease()
supportsAggressiveRelease
in interface org.hibernate.service.jdbc.connections.spi.ConnectionProvider
Copyright © 2014. All Rights Reserved.