| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private final HashMap | |
| protected static final int | |
| public static final String | |
| private Boolean | |
| protected Set |
| Access | Constructor and Description |
|---|---|
| public |
| CREATE_VIEW_AS_PATTERN | back to summary |
|---|---|
| private static final Pattern CREATE_VIEW_AS_PATTERN Hides liquibase. | |
| defaultDataTypeParameters | back to summary |
|---|---|
| private final HashMap<String, Integer> defaultDataTypeParameters | |
| MSSQL_DEFAULT_TCP_PORT | back to summary |
|---|---|
| protected static final int MSSQL_DEFAULT_TCP_PORT | |
| PRODUCT_NAME | back to summary |
|---|---|
| public static final String PRODUCT_NAME | |
| sendsStringParametersAsUnicode | back to summary |
|---|---|
| private Boolean sendsStringParametersAsUnicode | |
| systemTablesAndViews | back to summary |
|---|---|
| protected Set<String> systemTablesAndViews | |
| MSSQLDatabase | back to summary |
|---|---|
public MSSQLDatabase()
| |
| addSqlVisitors | back to summary |
|---|---|
| private List | |
| createReservedWordsCollection | back to summary |
|---|---|
| private static List | |
| escapeDataTypeName | back to summary |
|---|---|
| public String escapeDataTypeName(String dataTypeName) Overrides liquibase. Implements liquibase.
| |
| escapeObjectName | back to summary |
|---|---|
| public String escapeObjectName(String objectName, Class<? extends DatabaseObject> objectType) Overrides liquibase. Implements liquibase.
| |
| escapeObjectName | back to summary |
|---|---|
| public String escapeObjectName(String catalogName, String schemaName, String objectName, Class<? extends DatabaseObject> objectType) Overrides liquibase. Implements liquibase.
| |
| escapeTableName | back to summary |
|---|---|
| public String escapeTableName(String catalogName, String schemaName, String tableName) Overrides liquibase. Implements liquibase.
| |
| executeStatements | back to summary |
|---|---|
| public void executeStatements(Change change, DatabaseChangeLog changeLog, List<SqlVisitor> sqlVisitors) throws LiquibaseException Overrides liquibase. Implements liquibase.
| |
| generateAutoIncrementBy | back to summary |
|---|---|
| protected boolean generateAutoIncrementBy(BigInteger incrementBy) Overrides liquibase.
| |
| generateAutoIncrementStartWith | back to summary |
|---|---|
| protected boolean generateAutoIncrementStartWith(BigInteger startWith) Overrides liquibase.
| |
| generateDefaultConstraintName | back to summary |
|---|---|
| public String generateDefaultConstraintName(String tableName, String columnName) | |
| getAutoIncrementByClause | back to summary |
|---|---|
| protected String getAutoIncrementByClause() Overrides liquibase.
| |
| getAutoIncrementClause | back to summary |
|---|---|
| protected String getAutoIncrementClause() Overrides liquibase.
| |
| getAutoIncrementStartWithClause | back to summary |
|---|---|
| protected String getAutoIncrementStartWithClause() Overrides liquibase.
| |
| getConcatSql | back to summary |
|---|---|
| public String getConcatSql(String... values) Overrides liquibase. Implements liquibase. Doc from liquibase. Returns SQL to concat the passed values.
| |
| getConnectionSchemaNameCallStatement | back to summary |
|---|---|
| protected SqlStatement getConnectionSchemaNameCallStatement() Overrides liquibase. Doc from liquibase. Used to obtain the connection schema name through a statement Override this method to change the statement. Only override this if getConnectionSchemaName is left unchanged or is using this method.
| |
| getDataTypeMaxParameters | back to summary |
|---|---|
| public int getDataTypeMaxParameters(String dataTypeName) Overrides liquibase. Implements liquibase.
| |
| getDateLiteral | back to summary |
|---|---|
| public String getDateLiteral(String isoDate) Overrides liquibase. Implements liquibase. Doc from liquibase. Return a date literal with the same value as a string formatted using ISO 8601. Note many databases accept date literals in ISO8601 format with the 'T' replaced with a space. Only databases which do not accept these strings should need to override this method. Implementation restriction: Currently, only the following subsets of ISO8601 are supported: yyyy-MM-dd hh:mm:ss yyyy-MM-ddThh:mm:ss
| |
| getDefaultCatalogName | back to summary |
|---|---|
| public String getDefaultCatalogName() Overrides liquibase. Implements liquibase.
| |
| getDefaultDatabaseProductName | back to summary |
|---|---|
| protected String getDefaultDatabaseProductName() Implements abstract liquibase.
| |
| getDefaultDriver | back to summary |
|---|---|
| public String getDefaultDriver(String url) Implements liquibase. Doc from liquibase. If this database understands the given url, return the default driver class name. Otherwise return null.
| |
| getDefaultFractionalDigitsForTimestamp | back to summary |
|---|---|
| public int getDefaultFractionalDigitsForTimestamp() Overrides liquibase. Implements liquibase. Doc from liquibase. SQL Standard (Foundation) says: "...if the default precision / number of maximum digits in a timestamp if nothing else is specified.
| |
| getDefaultPort | back to summary |
|---|---|
| public Integer getDefaultPort() Implements liquibase.
| |
| getDefaultScaleForNativeDataType | back to summary |
|---|---|
| public Integer getDefaultScaleForNativeDataType(String nativeDataType) Overrides liquibase. Implements liquibase. Doc from liquibase. Returns the default precision for a given native data type, e.g. "datetime2" for Microsoft SQL Server. | |
| getEngineEdition | back to summary |
|---|---|
| public String getEngineEdition() Determines the capabilities ("Edition") of the SQL Server database. Possible values are currently "Personal", "Standard", "Enterprise" (Developer Edition is also reported as Enterprise), "Express" or "Azure".
| |
| getJdbcSchemaName | back to summary |
|---|---|
| public String getJdbcSchemaName(CatalogAndSchema schema) Overrides liquibase.
| |
| getPriority | back to summary |
|---|---|
| public int getPriority() Implements liquibase.
| |
| getQuotingEndCharacter | back to summary |
|---|---|
| protected String getQuotingEndCharacter() Overrides liquibase.
| |
| getQuotingEndReplacement | back to summary |
|---|---|
| protected String getQuotingEndReplacement() Overrides liquibase.
| |
| getQuotingStartCharacter | back to summary |
|---|---|
| protected String getQuotingStartCharacter() Overrides liquibase.
| |
| getShortName | back to summary |
|---|---|
| public String getShortName() Implements liquibase. Doc from liquibase. Returns an all-lower-case short name of the product. Used for end-user selecting of database type such as the DBMS precondition.
| |
| getSystemTables | back to summary |
|---|---|
| protected Set Overrides liquibase. Doc from liquibase. Returns system (undroppable) views.
| |
| getSystemViews | back to summary |
|---|---|
| public Set Overrides liquibase. Doc from liquibase. Returns system (undroppable) views.
| |
| getViewDefinition | back to summary |
|---|---|
| public String getViewDefinition(CatalogAndSchema schema, String viewName) throws DatabaseException Overrides liquibase. Implements liquibase.
| |
| isAzureDb | back to summary |
|---|---|
| public boolean isAzureDb() Returns true if the connected MS SQL instance is a Microsoft Cloud ("Azure")-hosted instance of MSSQL.
| |
| isCaseSensitive | back to summary |
|---|---|
| public boolean isCaseSensitive() Overrides liquibase. Implements liquibase.
| |
| isCorrectDatabaseImplementation | back to summary |
|---|---|
| public boolean isCorrectDatabaseImplementation(DatabaseConnection conn) throws DatabaseException Implements liquibase. Doc from liquibase. Is this AbstractDatabase subclass the correct one to use for the given connection.
| |
| isSystemObject | back to summary |
|---|---|
| public boolean isSystemObject(DatabaseObject example) Overrides liquibase. Implements liquibase.
| |
| sendsStringParametersAsUnicode | back to summary |
|---|---|
| public boolean sendsStringParametersAsUnicode() Determines if the SQL Server instance assigns Unicode data types (e.g. nvarchar) to strings.
| |
| setDefaultSchemaName | back to summary |
|---|---|
| public void setDefaultSchemaName(String schemaName) Overrides liquibase. Implements liquibase.
| |
| supportsCatalogInObjectName | back to summary |
|---|---|
| public boolean supportsCatalogInObjectName(Class<? extends DatabaseObject> type) Overrides liquibase. Implements liquibase.
| |
| supportsDropTableCascadeConstraints | back to summary |
|---|---|
| public boolean supportsDropTableCascadeConstraints() Overrides liquibase. Implements liquibase.
| |
| supportsInitiallyDeferrableColumns | back to summary |
|---|---|
| public boolean supportsInitiallyDeferrableColumns() Implements liquibase. Doc from liquibase. Returns whether this database support initially deferrable columns.
| |
| supportsRestrictForeignKeys | back to summary |
|---|---|
| public boolean supportsRestrictForeignKeys() Overrides liquibase. Implements liquibase.
| |
| supportsSequences | back to summary |
|---|---|
| public boolean supportsSequences() Overrides liquibase. Implements liquibase. Doc from liquibase. Does the database type support sequence.
| |
| supportsTablespaces | back to summary |
|---|---|
| public boolean supportsTablespaces() Implements liquibase.
| |
| unescapeDataTypeName | back to summary |
|---|---|
| public String unescapeDataTypeName(String dataTypeName) Overrides liquibase. Implements liquibase.
| |
| unescapeDataTypeString | back to summary |
|---|---|
| public String unescapeDataTypeString(String dataTypeString) Overrides liquibase. Implements liquibase.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| private |
| MSSQL2008 | back to summary |
|---|---|
| public static final int MSSQL2008 | |
| MSSQL2012 | back to summary |
|---|---|
| public static final int MSSQL2012 | |
| MSSQL2014 | back to summary |
|---|---|
| public static final int MSSQL2014 | |
| MSSQL2016 | back to summary |
|---|---|
| public static final int MSSQL2016 | |
| MSSQL2017 | back to summary |
|---|---|
| public static final int MSSQL2017 | |
| MSSQL_SERVER_VERSIONS | back to summary |
|---|---|
| private MSSQL_SERVER_VERSIONS() | |