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 TypeMethodDescriptionint
void
open
(String url, Driver driverObject, Properties driverProperties) boolean
Default 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, supportsBatchUpdates
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getPriority
in interfacePrioritizedService
- Overrides:
getPriority
in classJdbcConnection
-
open
public void open(String url, Driver driverObject, Properties driverProperties) throws DatabaseException - Specified by:
open
in interfaceDatabaseConnection
- Overrides:
open
in classJdbcConnection
- Throws:
DatabaseException
-
supports
Description copied from interface:DatabaseConnection
Default 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
-