PROPKEY_IDENTIFIER_QUOTE_STRING, PROPKEY_STORED_IDENTIFIER_CASE| Constructor and Description |
|---|
MsSqlDbSupport()
Creates a new DB support instance for MS SQL.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
disableNotNullConstraints(String tableName)
Disables not-null constraints on the given table.
|
void |
disableReferentialConstraints()
Disables all referential constraints (e.g. foreign keys) on all table in the schema
|
protected void |
disableReferentialConstraints(String tableName) |
void |
disableValueConstraints()
Disables all value constraints (e.g. not null) on all tables in the schema
|
protected void |
disableValueConstraints(String tableName) |
Set<String> |
getColumnNames(String tableName)
Gets the names of all columns of the given table.
|
Set<String> |
getIdentityColumnNames(String tableName)
Gets the names of all identity columns of the given table.
|
Set<String> |
getSynonymNames()
Retrieves the names of all synonyms in the database schema.
|
Set<String> |
getTableNames()
Returns the names of all tables in the database.
|
Set<String> |
getTriggerNames()
Retrieves the names of all the triggers in the database schema.
|
Set<String> |
getTypeNames()
Retrieves the names of all the types in the database schema.
|
Set<String> |
getViewNames()
Retrieves the names of all the views in the database schema.
|
void |
incrementIdentityColumnToValue(String tableName,
String identityColumnName,
long identityValue)
Increments the identity value for the specified identity column on the specified table to the given value.
|
boolean |
supportsIdentityColumns()
Identity columns are supported.
|
boolean |
supportsSynonyms()
Synonyms are supported.
|
boolean |
supportsTriggers()
Triggers are supported.
|
boolean |
supportsTypes()
Types are supported
|
dropMaterializedView, dropSequence, dropSynonym, dropTable, dropTrigger, dropType, dropView, getDatabaseDialect, getIdentifierQuoteString, getLongDataType, getMaterializedViewNames, getSchemaName, getSequenceNames, getSequenceValue, getSQLHandler, getStoredIdentifierCase, getTextDataType, incrementSequenceToValue, init, qualified, quoted, supportsCascade, supportsMaterializedViews, supportsSequences, toCorrectCaseIdentifierpublic MsSqlDbSupport()
public Set<String> getTableNames()
getTableNames in class DbSupportpublic Set<String> getColumnNames(String tableName)
getColumnNames in class DbSupporttableName - The table, not nullpublic Set<String> getViewNames()
getViewNames in class DbSupportpublic Set<String> getSynonymNames()
getSynonymNames in class DbSupportpublic Set<String> getTriggerNames()
getTriggerNames in class DbSupportpublic Set<String> getTypeNames()
getTypeNames in class DbSupportpublic Set<String> getIdentityColumnNames(String tableName)
getIdentityColumnNames in class DbSupporttableName - The table, not nullpublic void disableReferentialConstraints()
disableReferentialConstraints in class DbSupportprotected void disableReferentialConstraints(String tableName)
public void disableValueConstraints()
disableValueConstraints in class DbSupportprotected void disableValueConstraints(String tableName)
public void incrementIdentityColumnToValue(String tableName, String identityColumnName, long identityValue)
incrementIdentityColumnToValue in class DbSupporttableName - The table with the identity column, not nullidentityColumnName - The column, not nullidentityValue - The new valuepublic boolean supportsSynonyms()
supportsSynonyms in class DbSupportpublic boolean supportsTriggers()
supportsTriggers in class DbSupportpublic boolean supportsTypes()
supportsTypes in class DbSupportpublic boolean supportsIdentityColumns()
supportsIdentityColumns in class DbSupportprotected void disableNotNullConstraints(String tableName)
tableName - The table, not nullCopyright © 2016. All Rights Reserved.