Class SnowflakeConnection
java.lang.Object
migratedb.v1.core.internal.database.base.BaseConnection<SnowflakeDatabase>
migratedb.v1.core.internal.database.snowflake.SnowflakeConnection
- All Implemented Interfaces:
AutoCloseable,Connection<SnowflakeDatabase>
-
Field Summary
Fields inherited from class migratedb.v1.core.internal.database.base.BaseConnection
database, jdbcTemplate, originalSchemaNameOrSearchPath -
Method Summary
Methods inherited from class migratedb.v1.core.internal.database.base.BaseConnection
changeCurrentSchemaTo, close, doGetCurrentSchema, getCurrentSchema, getJdbcConnection, getJdbcTemplate, lock, restoreOriginalState
-
Method Details
-
doRestoreOriginalState
- Overrides:
doRestoreOriginalStatein classBaseConnection<SnowflakeDatabase>- Throws:
SQLException
-
getCurrentSchemaNameOrSearchPath
- Specified by:
getCurrentSchemaNameOrSearchPathin classBaseConnection<SnowflakeDatabase>- Throws:
SQLException- when the current schema name or search path could not be retrieved.
-
doChangeCurrentSchemaOrSearchPathTo
- Overrides:
doChangeCurrentSchemaOrSearchPathToin classBaseConnection<SnowflakeDatabase>- Parameters:
schema- The new current schema for this connection.- Throws:
SQLException- when the current schema could not be set.
-
getSchema
Description copied from interface:ConnectionRetrieves the schema with this name in the database.
-