Package liquibase.ext2.cm.database
Class CmDatabase
- java.lang.Object
-
- liquibase.database.AbstractJdbcDatabase
-
- liquibase.database.core.PostgresDatabase
-
- liquibase.ext2.cm.database.CmDatabase
-
- All Implemented Interfaces:
liquibase.database.Database
,liquibase.servicelocator.PrioritizedService
public class CmDatabase extends liquibase.database.core.PostgresDatabase
We set a dummy database here since we are not actually modifying a database but sending instructions to the ConfigurationManager.
-
-
Field Summary
Fields Modifier and Type Field Description static String
PRODUCT_NAME
static String
PRODUCT_SHORT_NAME
-
Fields inherited from class liquibase.database.core.PostgresDatabase
MINIMUM_DBMS_MAJOR_VERSION, MINIMUM_DBMS_MINOR_VERSION
-
Fields inherited from class liquibase.database.AbstractJdbcDatabase
caseSensitive, currentDateTimeFunction, dateFunctions, defaultAutoIncrementBy, defaultAutoIncrementStartWith, defaultCatalogName, defaultSchemaName, quotingStrategy, sequenceCurrentValueFunction, sequenceNextValueFunction, unmodifiableDataTypes, unquotedObjectsAreUppercased
-
-
Constructor Summary
Constructors Constructor Description CmDatabase(ConfigurationManagerService configurationManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationManagerService
getConfigurationManager()
String
getDatabaseProductName()
protected String
getDefaultDatabaseProductName()
String
getShortName()
Returns an all-lower-case short name of the product.-
Methods inherited from class liquibase.database.core.PostgresDatabase
correctObjectName, equals, escapeObjectName, generateAutoIncrementBy, generateAutoIncrementStartWith, generatePrimaryKeyName, getAutoIncrementClause, getConnectionSchemaNameCallStatement, getDatabaseChangeLogLockTableName, getDatabaseChangeLogTableName, getDefaultDriver, getDefaultPort, getMaxFractionalDigitsForTimestamp, getPriority, getSchemaAndCatalogCase, getSystemViews, hashCode, hasMixedCase, isCorrectDatabaseImplementation, isReservedWord, isSystemObject, setConnection, supportsCatalogInObjectName, supportsInitiallyDeferrableColumns, supportsSequences, supportsTablespaces
-
Methods inherited from class liquibase.database.AbstractJdbcDatabase
addReservedWords, canCreateChangeLogTable, close, commit, correctSchema, correctSchema, createsIndexesForForeignKeys, dataTypeIsNotModifiable, disableForeignKeyChecks, doesTagExist, dropDatabaseObjects, enableForeignKeyChecks, escapeColumnName, escapeColumnName, escapeColumnNameList, escapeConstraintName, escapeDataTypeName, escapeIndexName, escapeObjectName, escapeSequenceName, escapeStringForDatabase, escapeTableName, escapeViewName, execute, executeRollbackStatements, executeRollbackStatements, executeStatements, filterRollbackVisitors, generateDatabaseFunctionValue, get, getAutoCommitMode, getAutoIncrementByClause, getAutoIncrementClause, getAutoIncrementClosing, getAutoIncrementOpening, getAutoIncrementStartWithClause, getConcatSql, getConnection, getConnectionCatalogName, getConnectionSchemaName, getContainingObjects, getCurrentDateTimeFunction, getDatabaseMajorVersion, getDatabaseMinorVersion, getDatabaseProductVersion, getDataTypeMaxParameters, getDateFunctions, getDateLiteral, 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, getSchemaFromJdbcInfo, getSystemSchema, getSystemTables, getTimeLiteral, getViewDefinition, isAutoCommit, isCaseSensitive, isDateOnly, isDateTime, isDefaultCatalog, isDefaultSchema, isFunction, isLiquibaseObject, isSafeToRunUpdate, isSystemView, isTimeOnly, isTimestamp, jdbcCallsCatalogsSchemas, markChangeSetExecStatus, mustQuoteObjectName, parseDate, 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, supportsCatalogs, supportsDDLInTransaction, supportsDropTableCascadeConstraints, supportsForeignKeyDisable, supportsNotNullConstraintNames, supportsPrimaryKeyNames, supportsRestrictForeignKeys, supportsSchemas, tag, toString, unescapeDataTypeName, unescapeDataTypeString, validate
-
-
-
-
Field Detail
-
PRODUCT_NAME
public static final String PRODUCT_NAME
- See Also:
- Constant Field Values
-
PRODUCT_SHORT_NAME
public static final String PRODUCT_SHORT_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CmDatabase
public CmDatabase(ConfigurationManagerService configurationManager)
-
-
Method Detail
-
getDatabaseProductName
public String getDatabaseProductName()
- Specified by:
getDatabaseProductName
in interfaceliquibase.database.Database
- Overrides:
getDatabaseProductName
in classliquibase.database.AbstractJdbcDatabase
-
getShortName
public String getShortName()
Returns an all-lower-case short name of the product. Used for end-user selecting of database type such as the DBMS precondition.- Specified by:
getShortName
in interfaceliquibase.database.Database
- Overrides:
getShortName
in classliquibase.database.core.PostgresDatabase
-
getDefaultDatabaseProductName
protected String getDefaultDatabaseProductName()
- Overrides:
getDefaultDatabaseProductName
in classliquibase.database.core.PostgresDatabase
-
getConfigurationManager
public ConfigurationManagerService getConfigurationManager()
-
-