Class SynapseDatabase
- java.lang.Object
-
- migratedb.v1.core.internal.database.base.BaseDatabase
-
- migratedb.v1.core.internal.database.sqlserver.SQLServerDatabase
-
- migratedb.v1.core.internal.database.sqlserver.synapse.SynapseDatabase
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Database
public class SynapseDatabase extends SQLServerDatabase
-
-
Field Summary
-
Fields inherited from class migratedb.v1.core.internal.database.base.BaseDatabase
configuration, databaseType, jdbcConnectionFactory, jdbcTemplate, rawMainJdbcConnection
-
-
Constructor Summary
Constructors Constructor Description SynapseDatabase(Configuration configuration, JdbcConnectionFactory jdbcConnectionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringcomputeVersionDisplayName(Version version)Compute the user-friendly display name for this database version.protected SQLServerSessiondoGetSession(Connection connection)Retrieves a MigrateDB session for this JDBC connection.StringgetInsertStatement(Table table)StringgetRawCreateScript(Table table, boolean baseline)protected booleansupportsAssemblies()booleansupportsDdlTransactions()booleansupportsMultiStatementTransactions()protected booleansupportsPartitions()protected booleansupportsRules()protected booleansupportsSequences()protected booleansupportsSynonyms()protected booleansupportsTriggers()protected booleansupportsTypes()-
Methods inherited from class migratedb.v1.core.internal.database.sqlserver.SQLServerDatabase
catalogIsSchema, doGetCurrentUser, doQuote, ensureSupported, getBooleanFalse, getBooleanTrue, getCloseQuote, getDefaultDelimiter, getEscapedQuote, getMainSession, getOpenQuote, supportsChangingCurrentSchema, usesSingleSession
-
Methods inherited from class migratedb.v1.core.internal.database.base.BaseDatabase
close, determineVersion, doGetCatalog, ensureDatabaseIsRecentEnough, getAllSchemas, getBaselineStatement, getCatalog, getCreateScript, getCurrentUser, getDatabaseType, getInstalledBy, getJdbcMetaData, getMigrationSession, getSelectStatement, getVersion, quote, recommendMigrateDbUpgradeIfNecessary, recommendMigrateDbUpgradeIfNecessaryForMajorVersion, supportsEmptyMigrationDescription, unQuote
-
-
-
-
Constructor Detail
-
SynapseDatabase
public SynapseDatabase(Configuration configuration, JdbcConnectionFactory jdbcConnectionFactory)
-
-
Method Detail
-
doGetSession
protected SQLServerSession doGetSession(Connection connection)
Description copied from class:BaseDatabaseRetrieves a MigrateDB session for this JDBC connection.- Overrides:
doGetSessionin classSQLServerDatabase
-
computeVersionDisplayName
protected String computeVersionDisplayName(Version version)
Description copied from class:BaseDatabaseCompute the user-friendly display name for this database version.- Overrides:
computeVersionDisplayNamein classSQLServerDatabase
-
supportsDdlTransactions
public boolean supportsDdlTransactions()
- Specified by:
supportsDdlTransactionsin interfaceDatabase- Overrides:
supportsDdlTransactionsin classSQLServerDatabase
-
supportsMultiStatementTransactions
public boolean supportsMultiStatementTransactions()
- Specified by:
supportsMultiStatementTransactionsin interfaceDatabase- Overrides:
supportsMultiStatementTransactionsin classBaseDatabase
-
supportsPartitions
protected boolean supportsPartitions()
- Overrides:
supportsPartitionsin classSQLServerDatabase
-
supportsSynonyms
protected boolean supportsSynonyms()
- Overrides:
supportsSynonymsin classSQLServerDatabase
-
supportsRules
protected boolean supportsRules()
- Overrides:
supportsRulesin classSQLServerDatabase
-
supportsTypes
protected boolean supportsTypes()
- Overrides:
supportsTypesin classSQLServerDatabase
-
supportsSequences
protected boolean supportsSequences()
- Overrides:
supportsSequencesin classSQLServerDatabase
-
supportsTriggers
protected boolean supportsTriggers()
- Overrides:
supportsTriggersin classSQLServerDatabase
-
supportsAssemblies
protected boolean supportsAssemblies()
- Overrides:
supportsAssembliesin classSQLServerDatabase
-
getRawCreateScript
public String getRawCreateScript(Table table, boolean baseline)
- Specified by:
getRawCreateScriptin interfaceDatabase- Overrides:
getRawCreateScriptin classSQLServerDatabase
-
getInsertStatement
public String getInsertStatement(Table table)
- Specified by:
getInsertStatementin interfaceDatabase- Overrides:
getInsertStatementin classBaseDatabase
-
-