public class ConnectionProviderDelegate extends Object implements org.hibernate.engine.jdbc.connections.spi.ConnectionProvider, org.hibernate.service.spi.Configurable, org.hibernate.service.spi.ServiceRegistryAwareService, org.hibernate.service.spi.Stoppable
ConnectionProvider extends any other ConnectionProvider
 that would be used by default taken the current configuration properties.| Constructor and Description | 
|---|
| ConnectionProviderDelegate() | 
| ConnectionProviderDelegate(org.hibernate.engine.jdbc.connections.spi.ConnectionProvider connectionProvider) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | closeConnection(Connection conn) | 
| void | configure(Map configurationValues) | 
| Connection | getConnection() | 
| void | injectServices(org.hibernate.service.spi.ServiceRegistryImplementor serviceRegistry) | 
| boolean | isUnwrappableAs(Class unwrapType) | 
| void | stop() | 
| boolean | supportsAggressiveRelease() | 
| <T> T | unwrap(Class<T> unwrapType) | 
public ConnectionProviderDelegate()
public ConnectionProviderDelegate(org.hibernate.engine.jdbc.connections.spi.ConnectionProvider connectionProvider)
public void injectServices(org.hibernate.service.spi.ServiceRegistryImplementor serviceRegistry)
injectServices in interface org.hibernate.service.spi.ServiceRegistryAwareServicepublic void configure(Map configurationValues)
configure in interface org.hibernate.service.spi.Configurablepublic Connection getConnection() throws SQLException
getConnection in interface org.hibernate.engine.jdbc.connections.spi.ConnectionProviderSQLExceptionpublic void closeConnection(Connection conn) throws SQLException
closeConnection in interface org.hibernate.engine.jdbc.connections.spi.ConnectionProviderSQLExceptionpublic boolean supportsAggressiveRelease()
supportsAggressiveRelease in interface org.hibernate.engine.jdbc.connections.spi.ConnectionProviderpublic boolean isUnwrappableAs(Class unwrapType)
isUnwrappableAs in interface org.hibernate.service.spi.Wrappedpublic <T> T unwrap(Class<T> unwrapType)
unwrap in interface org.hibernate.service.spi.Wrappedpublic void stop()
stop in interface org.hibernate.service.spi.StoppableCopyright © 2001-2019 Red Hat, Inc. All Rights Reserved.