Class NonSchemaSupportingHsqlDb
java.lang.Object
liquibase.database.AbstractJdbcDatabase
liquibase.database.core.HsqlDatabase
com.atlassian.crowd.util.persistence.liquibase.ext.NonSchemaSupportingHsqlDb
- All Implemented Interfaces:
AutoCloseable
,liquibase.database.Database
,liquibase.servicelocator.PrioritizedService
public class NonSchemaSupportingHsqlDb
extends liquibase.database.core.HsqlDatabase
Workaround https://liquibase.jira.com/browse/CORE-2692 - report that hsql older than 2.0 doesn't support schemas
-
Field Summary
Fields inherited from class liquibase.database.AbstractJdbcDatabase
caseSensitive, currentDateTimeFunction, dateFunctions, defaultAutoIncrementBy, defaultAutoIncrementStartWith, defaultCatalogName, defaultSchemaName, quotingStrategy, sequenceCurrentValueFunction, sequenceNextValueFunction, unmodifiableDataTypes, unquotedObjectsAreUppercased
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionescapeColumnName
(String catalogName, String schemaName, String tableName, String columnName) int
boolean
Methods inherited from class liquibase.database.core.HsqlDatabase
escapeObjectName, getAutoIncrementClause, getConcatSql, getConnectionCatalogName, getConnectionSchemaName, getDateLiteral, getDefaultDatabaseProductName, getDefaultDriver, getDefaultPort, getMaxFractionalDigitsForTimestamp, getShortName, isCaseSensitive, isCorrectDatabaseImplementation, isReservedWord, isUsingOracleSyntax, parseDate, setConnection, supportsCatalogs, supportsDefaultValueComputed, supportsInitiallyDeferrableColumns, supportsSequences, supportsTablespaces
Methods inherited from class liquibase.database.AbstractJdbcDatabase
addReservedWords, canCreateChangeLogTable, close, commit, correctObjectName, correctSchema, correctSchema, createsIndexesForForeignKeys, dataTypeIsNotModifiable, disableForeignKeyChecks, doesTagExist, dropDatabaseObjects, enableForeignKeyChecks, equals, escapeColumnName, escapeColumnNameList, escapeConstraintName, escapeDataTypeName, escapeIndexName, escapeObjectName, escapeSequenceName, escapeStringForDatabase, escapeTableName, escapeViewName, execute, executeRollbackStatements, executeRollbackStatements, executeStatements, filterRollbackVisitors, generateAutoIncrementBy, generateAutoIncrementStartWith, generateDatabaseFunctionValue, generatePrimaryKeyName, get, getAutoCommitMode, getAutoIncrementByClause, getAutoIncrementClause, getAutoIncrementClause, getAutoIncrementClosing, getAutoIncrementOpening, getAutoIncrementStartWithClause, getConnection, getConnectionSchemaNameCallStatement, getContainingObjects, getCurrentDateTimeFunction, getDatabaseChangeLogLockTableName, getDatabaseChangeLogTableName, getDatabaseMajorVersion, getDatabaseMinorVersion, getDatabaseProductName, getDatabaseProductVersion, getDataTypeMaxParameters, getDateFunctions, getDateLiteral, getDateLiteral, getDateTimeLiteral, getDefaultCatalogName, getDefaultFractionalDigitsForTimestamp, getDefaultScaleForNativeDataType, getDefaultSchema, getDefaultSchemaName, getFetchSize, getJdbcCatalogName, getJdbcCatalogName, getJdbcSchemaName, getJdbcSchemaName, getLineComment, getLiquibaseCatalogName, getLiquibaseSchemaName, getLiquibaseTablespaceName, getName, getObjectQuotingStrategy, getOutputDefaultCatalog, getOutputDefaultSchema, getQuotingEndCharacter, getQuotingEndReplacement, getQuotingStartCharacter, getRanChangeSet, getRanChangeSetList, getRanDate, getRunStatus, getSchemaAndCatalogCase, getSchemaFromJdbcInfo, getSystemSchema, getSystemTables, getSystemViews, getTimeLiteral, getViewDefinition, hashCode, isAutoCommit, isCurrentTimeFunction, isDateOnly, isDateTime, isDefaultCatalog, isDefaultSchema, isFunction, isLiquibaseObject, isSafeToRunUpdate, isSystemObject, isSystemView, isTimeOnly, isTimestamp, jdbcCallsCatalogsSchemas, markChangeSetExecStatus, mustQuoteObjectName, quoteObject, removeRanStatus, requiresExplicitNullForColumns, requiresPassword, requiresUsername, resetInternalState, rollback, saveRollbackStatement, saveStatements, set, setAutoCommit, setCanCacheLiquibaseTableInfo, setCaseSensitive, setCurrentDateTimeFunction, setDatabaseChangeLogLockTableName, setDatabaseChangeLogTableName, setDefaultCatalogName, setDefaultSchemaName, setLiquibaseCatalogName, setLiquibaseSchemaName, setLiquibaseTablespaceName, setObjectQuotingStrategy, setOutputDefaultCatalog, setOutputDefaultSchema, startsWithNumeric, supportsAutoIncrement, supportsBatchUpdates, supportsCatalogInObjectName, supportsDDLInTransaction, supportsDropTableCascadeConstraints, supportsForeignKeyDisable, supportsNotNullConstraintNames, supportsPrimaryKeyNames, supportsRestrictForeignKeys, tag, toString, unescapeDataTypeName, unescapeDataTypeString, validate
-
Constructor Details
-
NonSchemaSupportingHsqlDb
public NonSchemaSupportingHsqlDb()
-
-
Method Details
-
supportsSchemas
public boolean supportsSchemas()- Specified by:
supportsSchemas
in interfaceliquibase.database.Database
- Overrides:
supportsSchemas
in classliquibase.database.AbstractJdbcDatabase
-
getPriority
public int getPriority()- Specified by:
getPriority
in interfaceliquibase.servicelocator.PrioritizedService
- Overrides:
getPriority
in classliquibase.database.core.HsqlDatabase
-
escapeColumnName
public String escapeColumnName(String catalogName, String schemaName, String tableName, String columnName) - Specified by:
escapeColumnName
in interfaceliquibase.database.Database
- Overrides:
escapeColumnName
in classliquibase.database.AbstractJdbcDatabase
-