Class QuarkusConnectionProvider
java.lang.Object
io.quarkus.hibernate.orm.runtime.customized.QuarkusConnectionProvider
- All Implemented Interfaces:
Serializable
,org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
,org.hibernate.service.Service
,org.hibernate.service.spi.Wrapped
public class QuarkusConnectionProvider
extends Object
implements org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
closeConnection
(Connection connection) boolean
isUnwrappableAs
(Class unwrapType) boolean
<T> T
-
Constructor Details
-
QuarkusConnectionProvider
public QuarkusConnectionProvider(io.agroal.api.AgroalDataSource dataSource)
-
-
Method Details
-
getConnection
- Specified by:
getConnection
in interfaceorg.hibernate.engine.jdbc.connections.spi.ConnectionProvider
- Throws:
SQLException
-
closeConnection
- Specified by:
closeConnection
in interfaceorg.hibernate.engine.jdbc.connections.spi.ConnectionProvider
- Throws:
SQLException
-
supportsAggressiveRelease
public boolean supportsAggressiveRelease()- Specified by:
supportsAggressiveRelease
in interfaceorg.hibernate.engine.jdbc.connections.spi.ConnectionProvider
-
isUnwrappableAs
- Specified by:
isUnwrappableAs
in interfaceorg.hibernate.service.spi.Wrapped
-
unwrap
- Specified by:
unwrap
in interfaceorg.hibernate.service.spi.Wrapped
-