Package liquibase.database.jvm
Class SnowflakeJdbcConnection
java.lang.Object
liquibase.database.jvm.JdbcConnection
liquibase.database.jvm.SnowflakeJdbcConnection
- All Implemented Interfaces:
AutoCloseable,DatabaseConnection,PrioritizedService
-
Field Summary
FieldsFields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidopen(String url, Driver driverObject, Properties driverProperties) booleanDefault implementation for compatibility with a URL.Methods inherited from class liquibase.database.jvm.JdbcConnection
attached, clearWarnings, close, commit, createStatement, createStatement, createStatement, equals, getAutoCommit, getCatalog, getConnectionUrl, getConnectionUserName, getDatabaseMajorVersion, getDatabaseMinorVersion, getDatabaseProductName, getDatabaseProductVersion, getHoldability, getMetaData, getTransactionIsolation, getTypeMap, getUnderlyingConnection, getURL, getWarnings, getWrappedConnection, hashCode, isClosed, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, sanitizeUrl, sanitizeUrl, setAutoCommit, setCatalog, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap, supportsBatchUpdatesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface liquibase.database.DatabaseConnection
getVisibleUrl
-
Field Details
-
APPLICATION_KEY
- See Also:
-
LIQUIBASE_PRODUCT_NAME
- See Also:
-
-
Constructor Details
-
SnowflakeJdbcConnection
public SnowflakeJdbcConnection()
-
-
Method Details
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfacePrioritizedService- Overrides:
getPriorityin classJdbcConnection
-
open
public void open(String url, Driver driverObject, Properties driverProperties) throws DatabaseException - Specified by:
openin interfaceDatabaseConnection- Overrides:
openin classJdbcConnection- Throws:
DatabaseException
-
supports
Description copied from interface:DatabaseConnectionDefault implementation for compatibility with a URL. Method is used when a Connection is opened based on an identified driverObject from url. Can be overridden in DatabaseConnection implementations with a higher priority to check against a given url.- Parameters:
url- the url connection string- Returns:
- true if URL is supported
-