Class DelegatingHikariConnectionProvider
- java.lang.Object
-
- com.atlassian.confluence.impl.hibernate.DelegatingHikariConnectionProvider
-
- All Implemented Interfaces:
Serializable,org.hibernate.engine.jdbc.connections.spi.ConnectionProvider,org.hibernate.service.Service,org.hibernate.service.spi.Configurable,org.hibernate.service.spi.Stoppable,org.hibernate.service.spi.Wrapped
@Deprecated(forRemoval=false) public final class DelegatingHikariConnectionProvider extends Object implements org.hibernate.engine.jdbc.connections.spi.ConnectionProvider, org.hibernate.service.spi.Configurable, org.hibernate.service.spi.Stoppable
Deprecated.since 8.6, but cannot be removed due to references in existing installed confluence.cfg.xml files.A wrapper around Hibernate5'sHikariCPConnectionProvider- Since:
- 7.8
- See Also:
ReplaceC3p0ConnectionPoolWithHikariCPUpgradeTask, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DelegatingHikariConnectionProvider()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcloseConnection(Connection conn)Deprecated.voidconfigure(Map configurationValues)Deprecated.ConnectiongetConnection()Deprecated.booleanisUnwrappableAs(Class unwrapType)Deprecated.voidstop()Deprecated.booleansupportsAggressiveRelease()Deprecated.<T> Tunwrap(Class<T> unwrapType)Deprecated.
-
-
-
Method Detail
-
configure
public void configure(Map configurationValues)
Deprecated.- Specified by:
configurein interfaceorg.hibernate.service.spi.Configurable
-
getConnection
public Connection getConnection() throws SQLException
Deprecated.- Specified by:
getConnectionin interfaceorg.hibernate.engine.jdbc.connections.spi.ConnectionProvider- Throws:
SQLException
-
closeConnection
public void closeConnection(Connection conn) throws SQLException
Deprecated.- Specified by:
closeConnectionin interfaceorg.hibernate.engine.jdbc.connections.spi.ConnectionProvider- Throws:
SQLException
-
supportsAggressiveRelease
public boolean supportsAggressiveRelease()
Deprecated.- Specified by:
supportsAggressiveReleasein interfaceorg.hibernate.engine.jdbc.connections.spi.ConnectionProvider
-
stop
public void stop()
Deprecated.- Specified by:
stopin interfaceorg.hibernate.service.spi.Stoppable
-
isUnwrappableAs
public boolean isUnwrappableAs(Class unwrapType)
Deprecated.- Specified by:
isUnwrappableAsin interfaceorg.hibernate.service.spi.Wrapped
-
unwrap
public <T> T unwrap(Class<T> unwrapType)
Deprecated.- Specified by:
unwrapin interfaceorg.hibernate.service.spi.Wrapped
-
-