public class QuarkusConnectionProvider extends Object implements org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
| Constructor and Description |
|---|
QuarkusConnectionProvider(io.agroal.api.AgroalDataSource dataSource) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnection(Connection connection) |
Connection |
getConnection() |
boolean |
isUnwrappableAs(Class unwrapType) |
boolean |
supportsAggressiveRelease() |
<T> T |
unwrap(Class<T> unwrapType) |
public QuarkusConnectionProvider(io.agroal.api.AgroalDataSource dataSource)
public Connection getConnection() throws SQLException
getConnection in interface org.hibernate.engine.jdbc.connections.spi.ConnectionProviderSQLExceptionpublic void closeConnection(Connection connection) 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.WrappedCopyright © 2021 JBoss by Red Hat. All rights reserved.