Class SQLServerConnection
java.lang.Object
migratedb.v1.core.internal.database.base.BaseConnection<SQLServerDatabase>
migratedb.v1.core.internal.database.sqlserver.SQLServerConnection
- All Implemented Interfaces:
AutoCloseable,Connection<SQLServerDatabase>
- Direct Known Subclasses:
SynapseConnection
SQL Server connection.
-
Field Summary
FieldsFields inherited from class migratedb.v1.core.internal.database.base.BaseConnection
database, jdbcTemplate, originalSchemaNameOrSearchPath -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSQLServerConnection(SQLServerDatabase database, Connection connection) -
Method Summary
Methods inherited from class migratedb.v1.core.internal.database.base.BaseConnection
changeCurrentSchemaTo, close, doChangeCurrentSchemaOrSearchPathTo, doGetCurrentSchema, getCurrentSchema, getJdbcConnection, getJdbcTemplate, restoreOriginalState
-
Field Details
-
originalDatabaseName
-
-
Constructor Details
-
SQLServerConnection
-
-
Method Details
-
getCurrentSchemaNameOrSearchPath
- Specified by:
getCurrentSchemaNameOrSearchPathin classBaseConnection<SQLServerDatabase>- Throws:
SQLException- when the current schema name or search path could not be retrieved.
-
doRestoreOriginalState
- Overrides:
doRestoreOriginalStatein classBaseConnection<SQLServerDatabase>- Throws:
SQLException
-
getSchema
Description copied from interface:ConnectionRetrieves the schema with this name in the database. -
lock
Description copied from interface:ConnectionLocks this table and executes this callable.- Specified by:
lockin interfaceConnection<SQLServerDatabase>- Overrides:
lockin classBaseConnection<SQLServerDatabase>- Returns:
- The result of the callable.
-
isAzureConnection
-
getEngineEdition
-