Class QuarkusStaticInitConnectionProvider
java.lang.Object
io.quarkus.hibernate.orm.runtime.service.QuarkusStaticInitConnectionProvider
- All Implemented Interfaces:
Serializable
,org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
,org.hibernate.service.Service
,org.hibernate.service.spi.Wrapped
public class QuarkusStaticInitConnectionProvider
extends Object
implements org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
closeConnection
(Connection connection) boolean
isUnwrappableAs
(Class<?> unwrapType) boolean
<T> T
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.engine.jdbc.connections.spi.ConnectionProvider
getDatabaseConnectionInfo
-
Constructor Details
-
QuarkusStaticInitConnectionProvider
public QuarkusStaticInitConnectionProvider()
-
-
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
-