public class SybaseASADatabase extends AbstractJdbcDatabase
caseSensitive, currentDateTimeFunction, dateFunctions, defaultAutoIncrementBy, defaultAutoIncrementStartWith, defaultCatalogName, defaultSchemaName, quotingStrategy, sequenceCurrentValueFunction, sequenceNextValueFunction, unmodifiableDataTypes, unquotedObjectsAreUppercasedCOMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT| Constructor and Description |
|---|
SybaseASADatabase() |
| Modifier and Type | Method and Description |
|---|---|
String |
escapeIndexName(String catalogName,
String schemaName,
String indexName) |
protected boolean |
generateAutoIncrementBy(BigInteger incrementBy) |
protected boolean |
generateAutoIncrementStartWith(BigInteger startWith) |
protected String |
getAutoIncrementClause() |
protected String |
getConnectionSchemaName()
Overwrite this method to get the default schema name for the connection.
|
String |
getDefaultCatalogName() |
protected String |
getDefaultDatabaseProductName() |
String |
getDefaultDriver(String url)
If this database understands the given url, return the default driver class name.
|
Integer |
getDefaultPort() |
String |
getJdbcCatalogName(CatalogAndSchema schema) |
int |
getPriority() |
String |
getShortName()
Returns an all-lower-case short name of the product.
|
Set<String> |
getSystemViews()
Returns system (undroppable) views.
|
String |
getViewDefinition(CatalogAndSchema schema,
String viewName) |
boolean |
isCorrectDatabaseImplementation(DatabaseConnection conn)
Is this AbstractDatabase subclass the correct one to use for the given connection.
|
boolean |
requiresExplicitNullForColumns()
Does the database require explicit NULL for nullable columns?
|
void |
setAutoCommit(boolean b) |
void |
setConnection(DatabaseConnection conn) |
boolean |
supportsDropTableCascadeConstraints() |
boolean |
supportsInitiallyDeferrableColumns()
Returns whether this database support initially deferrable columns.
|
boolean |
supportsSequences()
Does the database type support sequence.
|
boolean |
supportsTablespaces() |
addReservedWords, canCreateChangeLogTable, close, commit, correctObjectName, correctSchema, correctSchema, createsIndexesForForeignKeys, dataTypeIsNotModifiable, disableForeignKeyChecks, doesTagExist, dropDatabaseObjects, enableForeignKeyChecks, equals, escapeColumnName, escapeColumnName, escapeColumnNameList, escapeConstraintName, escapeDataTypeName, escapeObjectName, escapeObjectName, escapeSequenceName, escapeStringForDatabase, escapeTableName, escapeViewName, execute, executeRollbackStatements, executeRollbackStatements, executeStatements, filterRollbackVisitors, generateDatabaseFunctionValue, generatePrimaryKeyName, get, getAutoCommitMode, getAutoIncrementByClause, getAutoIncrementClause, getAutoIncrementClause, getAutoIncrementClosing, getAutoIncrementOpening, getAutoIncrementStartWithClause, getConcatSql, getConnection, getConnectionCatalogName, getConnectionSchemaNameCallStatement, getContainingObjects, getCurrentDateTimeFunction, getDatabaseChangeLogLockTableName, getDatabaseChangeLogTableName, getDatabaseMajorVersion, getDatabaseMinorVersion, getDatabaseProductName, getDatabaseProductVersion, getDataTypeMaxParameters, getDateFunctions, getDateLiteral, getDateLiteral, getDateLiteral, getDateTimeLiteral, getDefaultFractionalDigitsForTimestamp, getDefaultScaleForNativeDataType, getDefaultSchema, getDefaultSchemaName, getFetchSize, getJdbcCatalogName, getJdbcSchemaName, getJdbcSchemaName, getLineComment, getLiquibaseCatalogName, getLiquibaseSchemaName, getLiquibaseTablespaceName, getMaxFractionalDigitsForTimestamp, getName, getObjectQuotingStrategy, getOutputDefaultCatalog, getOutputDefaultSchema, getQuotingEndCharacter, getQuotingEndReplacement, getQuotingStartCharacter, getRanChangeSet, getRanChangeSetList, getRanDate, getRunStatus, getSchemaAndCatalogCase, getSchemaFromJdbcInfo, getSystemSchema, getSystemTables, getTimeLiteral, hashCode, isAutoCommit, isCaseSensitive, isDateOnly, isDateTime, isDefaultCatalog, isDefaultSchema, isFunction, isLiquibaseObject, isReservedWord, isSafeToRunUpdate, isSystemObject, isSystemView, isTimeOnly, isTimestamp, jdbcCallsCatalogsSchemas, markChangeSetExecStatus, mustQuoteObjectName, parseDate, quoteObject, removeRanStatus, requiresPassword, requiresUsername, resetInternalState, rollback, saveRollbackStatement, saveStatements, set, setCanCacheLiquibaseTableInfo, setCaseSensitive, setCurrentDateTimeFunction, setDatabaseChangeLogLockTableName, setDatabaseChangeLogTableName, setDefaultCatalogName, setDefaultSchemaName, setLiquibaseCatalogName, setLiquibaseSchemaName, setLiquibaseTablespaceName, setObjectQuotingStrategy, setOutputDefaultCatalog, setOutputDefaultSchema, startsWithNumeric, supportsAutoIncrement, supportsBatchUpdates, supportsCatalogInObjectName, supportsCatalogs, supportsDDLInTransaction, supportsForeignKeyDisable, supportsNotNullConstraintNames, supportsPrimaryKeyNames, supportsRestrictForeignKeys, supportsSchemas, tag, toString, unescapeDataTypeName, unescapeDataTypeString, validatepublic int getPriority()
public String getDefaultDriver(String url)
Databasepublic Integer getDefaultPort()
protected String getDefaultDatabaseProductName()
getDefaultDatabaseProductName in class AbstractJdbcDatabasepublic String getShortName()
Databasepublic boolean isCorrectDatabaseImplementation(DatabaseConnection conn) throws DatabaseException
DatabaseDatabaseExceptionpublic String getDefaultCatalogName()
getDefaultCatalogName in interface DatabasegetDefaultCatalogName in class AbstractJdbcDatabaseprotected String getConnectionSchemaName()
AbstractJdbcDatabasegetConnectionSchemaName in class AbstractJdbcDatabaseAbstractJdbcDatabase.getConnectionSchemaNameCallStatement()public String getViewDefinition(CatalogAndSchema schema, String viewName) throws DatabaseException
getViewDefinition in interface DatabasegetViewDefinition in class AbstractJdbcDatabaseDatabaseExceptionpublic boolean supportsInitiallyDeferrableColumns()
Databasepublic boolean supportsDropTableCascadeConstraints()
supportsDropTableCascadeConstraints in interface DatabasesupportsDropTableCascadeConstraints in class AbstractJdbcDatabasepublic boolean supportsTablespaces()
public Set<String> getSystemViews()
AbstractJdbcDatabasegetSystemViews in class AbstractJdbcDatabasepublic boolean supportsSequences()
AbstractJdbcDatabasesupportsSequences in interface DatabasesupportsSequences in class AbstractJdbcDatabaseprotected String getAutoIncrementClause()
getAutoIncrementClause in class AbstractJdbcDatabaseprotected boolean generateAutoIncrementStartWith(BigInteger startWith)
generateAutoIncrementStartWith in class AbstractJdbcDatabaseprotected boolean generateAutoIncrementBy(BigInteger incrementBy)
generateAutoIncrementBy in class AbstractJdbcDatabasepublic void setAutoCommit(boolean b)
throws DatabaseException
setAutoCommit in interface DatabasesetAutoCommit in class AbstractJdbcDatabaseDatabaseExceptionpublic String getJdbcCatalogName(CatalogAndSchema schema)
getJdbcCatalogName in class AbstractJdbcDatabasepublic String escapeIndexName(String catalogName, String schemaName, String indexName)
escapeIndexName in interface DatabaseescapeIndexName in class AbstractJdbcDatabasepublic void setConnection(DatabaseConnection conn)
setConnection in interface DatabasesetConnection in class AbstractJdbcDatabasepublic boolean requiresExplicitNullForColumns()
DatabaserequiresExplicitNullForColumns in interface DatabaserequiresExplicitNullForColumns in class AbstractJdbcDatabaseCopyright © 2019 Liquibase.org. All rights reserved.