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
Fields inherited from class liquibase.database.jvm.JdbcConnection
FILTER_CREDS, FILTER_CREDS_MYSQL_TO_OBFUSCATE, FILTER_CREDS_ORACLE_TO_OBFUSCATE, FILTER_CREDS_PASSWORD, FILTER_CREDS_PRIVATE_KEY_FILE, FILTER_CREDS_PRIVATE_KEY_FILE_PWD, FILTER_CREDS_PRIVATE_KEY_TO_BLANK, FILTER_CREDS_USER
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
-
Constructor Summary
-
Method Summary
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
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface liquibase.database.DatabaseConnection
supports
-
Constructor Details
-
JdbcConnectionFromPool
-
-
Method Details
-
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
-