Class JdbcConnectionFromPool
- java.lang.Object
-
- liquibase.database.jvm.JdbcConnection
-
- org.keycloak.models.map.storage.jpa.liquibase.connection.JdbcConnectionFromPool
-
- All Implemented Interfaces:
AutoCloseable
,liquibase.database.DatabaseConnection
,liquibase.servicelocator.PrioritizedService
public class JdbcConnectionFromPool extends liquibase.database.jvm.JdbcConnection
Wrapper for JDBC connections retrieved from a connection pool. Such a connection would not be closed, but used within the current transaction context.- Author:
- Alexander Schwartz
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description JdbcConnectionFromPool(Connection connection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
-
Methods inherited from class liquibase.database.jvm.JdbcConnection
attached, clearWarnings, commit, createStatement, createStatement, createStatement, equals, getAutoCommit, getCatalog, getConnectionUrl, getConnectionUserName, getDatabaseMajorVersion, getDatabaseMinorVersion, getDatabaseProductName, getDatabaseProductVersion, getHoldability, getMetaData, getPriority, getTransactionIsolation, getTypeMap, getUnderlyingConnection, getURL, getWarnings, getWrappedConnection, hashCode, isClosed, isReadOnly, nativeSQL, open, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, sanitizeUrl, setAutoCommit, setCatalog, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap, supportsBatchUpdates
-
-
-
-
Constructor Detail
-
JdbcConnectionFromPool
public JdbcConnectionFromPool(Connection connection)
-
-
Method Detail
-
close
public void close() throws liquibase.exception.DatabaseException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceliquibase.database.DatabaseConnection
- Overrides:
close
in classliquibase.database.jvm.JdbcConnection
- Throws:
liquibase.exception.DatabaseException
-
-