liquibase.ext.hibernate.database
Class HibernateDatabase
java.lang.Object
liquibase.ext.hibernate.database.HibernateDatabase
- All Implemented Interfaces:
- liquibase.database.Database, liquibase.database.structure.DatabaseObject, liquibase.servicelocator.PrioritizedService
public class HibernateDatabase
- extends Object
- implements liquibase.database.Database
| Fields inherited from interface liquibase.database.Database |
databaseChangeLogLockTableName, databaseChangeLogTableName |
| Fields inherited from interface liquibase.servicelocator.PrioritizedService |
PRIORITY_DATABASE, PRIORITY_DEFAULT |
|
Method Summary |
void |
checkDatabaseChangeLogLockTable()
|
void |
checkDatabaseChangeLogTable()
|
void |
checkDatabaseChangeLogTable(boolean b,
liquibase.changelog.DatabaseChangeLog databaseChangeLog)
|
void |
checkDatabaseChangeLogTable(boolean updateExistingNullChecksums,
liquibase.changelog.DatabaseChangeLog databaseChangeLog,
String[] contexts)
|
void |
close()
|
void |
commit()
|
String |
convertRequestedSchemaToCatalog(String requestedSchema)
|
String |
convertRequestedSchemaToSchema(String requestedSchema)
|
org.hibernate.cfg.Configuration |
createConfiguration()
|
boolean |
disableForeignKeyChecks()
|
boolean |
doesTagExist(String tag)
|
void |
dropDatabaseObjects(String schema)
|
void |
enableForeignKeyChecks()
|
String |
escapeColumnName(String schemaName,
String tableName,
String columnName)
|
String |
escapeColumnNameList(String columnNames)
|
String |
escapeConstraintName(String constraintName)
|
String |
escapeDatabaseObject(String objectName)
|
String |
escapeIndexName(String schemaName,
String indexName)
|
String |
escapeSequenceName(String schemaName,
String sequenceName)
|
String |
escapeStringForDatabase(String string)
|
String |
escapeTableName(String schemaName,
String tableName)
|
String |
escapeViewName(String schemaName,
String viewName)
|
void |
execute(liquibase.statement.SqlStatement[] statements,
List<liquibase.sql.visitor.SqlVisitor> sqlVisitors)
|
void |
executeRollbackStatements(liquibase.change.Change change,
List<liquibase.sql.visitor.SqlVisitor> sqlVisitors)
|
void |
executeStatements(liquibase.change.Change change,
liquibase.changelog.DatabaseChangeLog changeLog,
List<liquibase.sql.visitor.SqlVisitor> sqlVisitors)
|
String |
generatePrimaryKeyName(String tableName)
|
boolean |
getAutoCommitMode()
|
String |
getAutoIncrementClause()
|
String |
getAutoIncrementClause(BigInteger bigInteger,
BigInteger bigInteger2)
|
String |
getConcatSql(String... values)
|
String |
getConfigFile()
|
ConfigType |
getConfigType()
|
liquibase.database.DatabaseConnection |
getConnection()
|
liquibase.database.structure.DatabaseObject[] |
getContainingObjects()
|
String |
getCurrentDateTimeFunction()
|
String |
getDatabaseChangeLogLockTableName()
|
String |
getDatabaseChangeLogTableName()
|
List<liquibase.statement.DatabaseFunction> |
getDatabaseFunctions()
|
int |
getDatabaseMajorVersion()
|
int |
getDatabaseMinorVersion()
|
String |
getDatabaseProductName()
|
String |
getDatabaseProductName(liquibase.database.DatabaseConnection conn)
|
String |
getDatabaseProductVersion()
|
String |
getDateLiteral(Date date)
|
String |
getDateLiteral(Date defaultDateValue)
|
String |
getDateLiteral(String isoDate)
|
String |
getDateTimeLiteral(Timestamp timeStamp)
|
String |
getDefaultCatalogName()
|
String |
getDefaultDriver(String url)
|
String |
getDefaultSchemaName()
|
String |
getLineComment()
|
String |
getLiquibaseSchemaName()
|
int |
getNextChangeSetSequenceValue()
|
int |
getPriority()
|
liquibase.changelog.RanChangeSet |
getRanChangeSet(liquibase.changelog.ChangeSet changeSet)
|
List<liquibase.changelog.RanChangeSet> |
getRanChangeSetList()
|
Date |
getRanDate(liquibase.changelog.ChangeSet changeSet)
|
liquibase.changelog.ChangeSet.RunStatus |
getRunStatus(liquibase.changelog.ChangeSet changeSet)
|
String |
getTimeLiteral(Time time)
|
String |
getTypeName()
|
String |
getViewDefinition(String schemaName,
String name)
|
boolean |
hasDatabaseChangeLogLockTable()
|
boolean |
hasDatabaseChangeLogTable()
|
boolean |
isAutoCommit()
|
boolean |
isCorrectDatabaseImplementation(liquibase.database.DatabaseConnection conn)
|
boolean |
isLiquibaseTable(String tableName)
|
boolean |
isLocalDatabase()
As the connectionURL for Hibernate refers to a config file, just return false |
boolean |
isReservedWord(String string)
|
boolean |
isSystemTable(String catalogName,
String schemaName,
String tableName)
|
boolean |
isSystemView(String catalogName,
String schemaName,
String name)
|
void |
markChangeSetExecStatus(liquibase.changelog.ChangeSet changeSet,
liquibase.changelog.ChangeSet.ExecType execType)
|
Date |
parseDate(String dateAsString)
|
void |
removeRanStatus(liquibase.changelog.ChangeSet changeSet)
|
boolean |
requiresPassword()
|
boolean |
requiresUsername()
|
void |
reset()
|
void |
rollback()
|
void |
saveRollbackStatement(liquibase.change.Change change,
List<liquibase.sql.visitor.SqlVisitor> sqlVisitors,
Writer writer)
|
void |
saveStatements(liquibase.change.Change change,
List<liquibase.sql.visitor.SqlVisitor> sqlVisitors,
Writer writer)
|
void |
setAutoCommit(boolean b)
|
void |
setCanCacheLiquibaseTableInfo(boolean canCacheLiquibaseTableInfo)
|
void |
setConnection(liquibase.database.DatabaseConnection conn)
|
void |
setCurrentDateTimeFunction(String function)
|
void |
setDatabaseChangeLogLockTableName(String tableName)
Does nothing because this is a hibernate database |
void |
setDatabaseChangeLogTableName(String tableName)
Does nothing because this is a hibernate database |
void |
setDefaultSchemaName(String schemaName)
|
boolean |
shouldQuoteValue(String value)
|
boolean |
supportsAutoIncrement()
|
boolean |
supportsDDLInTransaction()
|
boolean |
supportsDropTableCascadeConstraints()
|
boolean |
supportsForeignKeyDisable()
|
boolean |
supportsInitiallyDeferrableColumns()
|
boolean |
supportsRestrictForeignKeys()
|
boolean |
supportsSchemas()
|
boolean |
supportsSequences()
|
boolean |
supportsTablespaces()
|
void |
tag(String tagString)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPRING_BEAN
public static final String SPRING_BEAN
- See Also:
- Constant Field Values
SPRING_BEAN_CLASS
public static final String SPRING_BEAN_CLASS
- See Also:
- Constant Field Values
HibernateDatabase
public HibernateDatabase()
getConfigType
public ConfigType getConfigType()
getConfigFile
public String getConfigFile()
requiresPassword
public boolean requiresPassword()
- Specified by:
requiresPassword in interface liquibase.database.Database
requiresUsername
public boolean requiresUsername()
- Specified by:
requiresUsername in interface liquibase.database.Database
getContainingObjects
public liquibase.database.structure.DatabaseObject[] getContainingObjects()
- Specified by:
getContainingObjects in interface liquibase.database.structure.DatabaseObject
isCorrectDatabaseImplementation
public boolean isCorrectDatabaseImplementation(liquibase.database.DatabaseConnection conn)
throws liquibase.exception.DatabaseException
- Specified by:
isCorrectDatabaseImplementation in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
getDefaultDriver
public String getDefaultDriver(String url)
- Specified by:
getDefaultDriver in interface liquibase.database.Database
getConnection
public liquibase.database.DatabaseConnection getConnection()
- Specified by:
getConnection in interface liquibase.database.Database
setConnection
public void setConnection(liquibase.database.DatabaseConnection conn)
- Specified by:
setConnection in interface liquibase.database.Database
checkDatabaseChangeLogTable
public void checkDatabaseChangeLogTable(boolean b,
liquibase.changelog.DatabaseChangeLog databaseChangeLog)
throws liquibase.exception.DatabaseException
- Throws:
liquibase.exception.DatabaseException
getDatabaseFunctions
public List<liquibase.statement.DatabaseFunction> getDatabaseFunctions()
- Specified by:
getDatabaseFunctions in interface liquibase.database.Database
reset
public void reset()
- Specified by:
reset in interface liquibase.database.Database
supportsForeignKeyDisable
public boolean supportsForeignKeyDisable()
- Specified by:
supportsForeignKeyDisable in interface liquibase.database.Database
disableForeignKeyChecks
public boolean disableForeignKeyChecks()
throws liquibase.exception.DatabaseException
- Specified by:
disableForeignKeyChecks in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
enableForeignKeyChecks
public void enableForeignKeyChecks()
throws liquibase.exception.DatabaseException
- Specified by:
enableForeignKeyChecks in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
getPriority
public int getPriority()
- Specified by:
getPriority in interface liquibase.servicelocator.PrioritizedService
getAutoCommitMode
public boolean getAutoCommitMode()
- Specified by:
getAutoCommitMode in interface liquibase.database.Database
isAutoCommit
public boolean isAutoCommit()
throws liquibase.exception.DatabaseException
- Specified by:
isAutoCommit in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
setAutoCommit
public void setAutoCommit(boolean b)
throws liquibase.exception.DatabaseException
- Specified by:
setAutoCommit in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
supportsDDLInTransaction
public boolean supportsDDLInTransaction()
- Specified by:
supportsDDLInTransaction in interface liquibase.database.Database
getDatabaseProductName
public String getDatabaseProductName()
- Specified by:
getDatabaseProductName in interface liquibase.database.Database
getDatabaseProductVersion
public String getDatabaseProductVersion()
throws liquibase.exception.DatabaseException
- Specified by:
getDatabaseProductVersion in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
getDatabaseMajorVersion
public int getDatabaseMajorVersion()
throws liquibase.exception.DatabaseException
- Specified by:
getDatabaseMajorVersion in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
getDatabaseMinorVersion
public int getDatabaseMinorVersion()
throws liquibase.exception.DatabaseException
- Specified by:
getDatabaseMinorVersion in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
getTypeName
public String getTypeName()
- Specified by:
getTypeName in interface liquibase.database.Database
getDefaultCatalogName
public String getDefaultCatalogName()
throws liquibase.exception.DatabaseException
- Specified by:
getDefaultCatalogName in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
getDefaultSchemaName
public String getDefaultSchemaName()
- Specified by:
getDefaultSchemaName in interface liquibase.database.Database
setDefaultSchemaName
public void setDefaultSchemaName(String schemaName)
throws liquibase.exception.DatabaseException
- Specified by:
setDefaultSchemaName in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
supportsInitiallyDeferrableColumns
public boolean supportsInitiallyDeferrableColumns()
- Specified by:
supportsInitiallyDeferrableColumns in interface liquibase.database.Database
supportsSequences
public boolean supportsSequences()
- Specified by:
supportsSequences in interface liquibase.database.Database
supportsAutoIncrement
public boolean supportsAutoIncrement()
- Specified by:
supportsAutoIncrement in interface liquibase.database.Database
getDateLiteral
public String getDateLiteral(String isoDate)
- Specified by:
getDateLiteral in interface liquibase.database.Database
getCurrentDateTimeFunction
public String getCurrentDateTimeFunction()
- Specified by:
getCurrentDateTimeFunction in interface liquibase.database.Database
setCurrentDateTimeFunction
public void setCurrentDateTimeFunction(String function)
- Specified by:
setCurrentDateTimeFunction in interface liquibase.database.Database
getLineComment
public String getLineComment()
- Specified by:
getLineComment in interface liquibase.database.Database
getAutoIncrementClause
public String getAutoIncrementClause(BigInteger bigInteger,
BigInteger bigInteger2)
- Specified by:
getAutoIncrementClause in interface liquibase.database.Database
getAutoIncrementClause
public String getAutoIncrementClause()
getDatabaseChangeLogTableName
public String getDatabaseChangeLogTableName()
- Specified by:
getDatabaseChangeLogTableName in interface liquibase.database.Database
getDatabaseChangeLogLockTableName
public String getDatabaseChangeLogLockTableName()
- Specified by:
getDatabaseChangeLogLockTableName in interface liquibase.database.Database
setDatabaseChangeLogLockTableName
public void setDatabaseChangeLogLockTableName(String tableName)
- Does nothing because this is a hibernate database
- Specified by:
setDatabaseChangeLogLockTableName in interface liquibase.database.Database
- See Also:
Database.setDatabaseChangeLogLockTableName(java.lang.String)
setDatabaseChangeLogTableName
public void setDatabaseChangeLogTableName(String tableName)
- Does nothing because this is a hibernate database
- Specified by:
setDatabaseChangeLogTableName in interface liquibase.database.Database
- See Also:
Database.setDatabaseChangeLogTableName(java.lang.String)
getConcatSql
public String getConcatSql(String... values)
- Specified by:
getConcatSql in interface liquibase.database.Database
setCanCacheLiquibaseTableInfo
public void setCanCacheLiquibaseTableInfo(boolean canCacheLiquibaseTableInfo)
- Specified by:
setCanCacheLiquibaseTableInfo in interface liquibase.database.Database
hasDatabaseChangeLogTable
public boolean hasDatabaseChangeLogTable()
- Specified by:
hasDatabaseChangeLogTable in interface liquibase.database.Database
hasDatabaseChangeLogLockTable
public boolean hasDatabaseChangeLogLockTable()
- Specified by:
hasDatabaseChangeLogLockTable in interface liquibase.database.Database
checkDatabaseChangeLogTable
public void checkDatabaseChangeLogTable()
throws liquibase.exception.DatabaseException
- Throws:
liquibase.exception.DatabaseException
checkDatabaseChangeLogLockTable
public void checkDatabaseChangeLogLockTable()
throws liquibase.exception.DatabaseException
- Specified by:
checkDatabaseChangeLogLockTable in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
dropDatabaseObjects
public void dropDatabaseObjects(String schema)
throws liquibase.exception.DatabaseException
- Specified by:
dropDatabaseObjects in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
tag
public void tag(String tagString)
throws liquibase.exception.DatabaseException
- Specified by:
tag in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
doesTagExist
public boolean doesTagExist(String tag)
throws liquibase.exception.DatabaseException
- Specified by:
doesTagExist in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
isSystemTable
public boolean isSystemTable(String catalogName,
String schemaName,
String tableName)
- Specified by:
isSystemTable in interface liquibase.database.Database
isLiquibaseTable
public boolean isLiquibaseTable(String tableName)
- Specified by:
isLiquibaseTable in interface liquibase.database.Database
shouldQuoteValue
public boolean shouldQuoteValue(String value)
- Specified by:
shouldQuoteValue in interface liquibase.database.Database
supportsTablespaces
public boolean supportsTablespaces()
- Specified by:
supportsTablespaces in interface liquibase.database.Database
getViewDefinition
public String getViewDefinition(String schemaName,
String name)
throws liquibase.exception.DatabaseException
- Specified by:
getViewDefinition in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
getDatabaseProductName
public String getDatabaseProductName(liquibase.database.DatabaseConnection conn)
throws liquibase.exception.DatabaseException
- Throws:
liquibase.exception.DatabaseException
isSystemView
public boolean isSystemView(String catalogName,
String schemaName,
String name)
- Specified by:
isSystemView in interface liquibase.database.Database
getDateLiteral
public String getDateLiteral(Date date)
- Specified by:
getDateLiteral in interface liquibase.database.Database
getTimeLiteral
public String getTimeLiteral(Time time)
- Specified by:
getTimeLiteral in interface liquibase.database.Database
getDateTimeLiteral
public String getDateTimeLiteral(Timestamp timeStamp)
- Specified by:
getDateTimeLiteral in interface liquibase.database.Database
getDateLiteral
public String getDateLiteral(Date defaultDateValue)
- Specified by:
getDateLiteral in interface liquibase.database.Database
escapeTableName
public String escapeTableName(String schemaName,
String tableName)
- Specified by:
escapeTableName in interface liquibase.database.Database
escapeIndexName
public String escapeIndexName(String schemaName,
String indexName)
- Specified by:
escapeIndexName in interface liquibase.database.Database
escapeDatabaseObject
public String escapeDatabaseObject(String objectName)
- Specified by:
escapeDatabaseObject in interface liquibase.database.Database
escapeColumnName
public String escapeColumnName(String schemaName,
String tableName,
String columnName)
- Specified by:
escapeColumnName in interface liquibase.database.Database
escapeColumnNameList
public String escapeColumnNameList(String columnNames)
- Specified by:
escapeColumnNameList in interface liquibase.database.Database
convertRequestedSchemaToSchema
public String convertRequestedSchemaToSchema(String requestedSchema)
throws liquibase.exception.DatabaseException
- Specified by:
convertRequestedSchemaToSchema in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
convertRequestedSchemaToCatalog
public String convertRequestedSchemaToCatalog(String requestedSchema)
throws liquibase.exception.DatabaseException
- Specified by:
convertRequestedSchemaToCatalog in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
supportsSchemas
public boolean supportsSchemas()
- Specified by:
supportsSchemas in interface liquibase.database.Database
generatePrimaryKeyName
public String generatePrimaryKeyName(String tableName)
- Specified by:
generatePrimaryKeyName in interface liquibase.database.Database
escapeSequenceName
public String escapeSequenceName(String schemaName,
String sequenceName)
- Specified by:
escapeSequenceName in interface liquibase.database.Database
escapeViewName
public String escapeViewName(String schemaName,
String viewName)
- Specified by:
escapeViewName in interface liquibase.database.Database
getRunStatus
public liquibase.changelog.ChangeSet.RunStatus getRunStatus(liquibase.changelog.ChangeSet changeSet)
throws liquibase.exception.DatabaseException,
liquibase.exception.DatabaseHistoryException
- Specified by:
getRunStatus in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
liquibase.exception.DatabaseHistoryException
getRanChangeSet
public liquibase.changelog.RanChangeSet getRanChangeSet(liquibase.changelog.ChangeSet changeSet)
throws liquibase.exception.DatabaseException,
liquibase.exception.DatabaseHistoryException
- Specified by:
getRanChangeSet in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
liquibase.exception.DatabaseHistoryException
markChangeSetExecStatus
public void markChangeSetExecStatus(liquibase.changelog.ChangeSet changeSet,
liquibase.changelog.ChangeSet.ExecType execType)
throws liquibase.exception.DatabaseException
- Specified by:
markChangeSetExecStatus in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
getRanChangeSetList
public List<liquibase.changelog.RanChangeSet> getRanChangeSetList()
throws liquibase.exception.DatabaseException
- Specified by:
getRanChangeSetList in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
getRanDate
public Date getRanDate(liquibase.changelog.ChangeSet changeSet)
throws liquibase.exception.DatabaseException,
liquibase.exception.DatabaseHistoryException
- Specified by:
getRanDate in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
liquibase.exception.DatabaseHistoryException
removeRanStatus
public void removeRanStatus(liquibase.changelog.ChangeSet changeSet)
throws liquibase.exception.DatabaseException
- Specified by:
removeRanStatus in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
commit
public void commit()
throws liquibase.exception.DatabaseException
- Specified by:
commit in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
rollback
public void rollback()
throws liquibase.exception.DatabaseException
- Specified by:
rollback in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
escapeStringForDatabase
public String escapeStringForDatabase(String string)
- Specified by:
escapeStringForDatabase in interface liquibase.database.Database
close
public void close()
throws liquibase.exception.DatabaseException
- Specified by:
close in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
createConfiguration
public org.hibernate.cfg.Configuration createConfiguration()
supportsRestrictForeignKeys
public boolean supportsRestrictForeignKeys()
- Specified by:
supportsRestrictForeignKeys in interface liquibase.database.Database
escapeConstraintName
public String escapeConstraintName(String constraintName)
- Specified by:
escapeConstraintName in interface liquibase.database.Database
isLocalDatabase
public boolean isLocalDatabase()
throws liquibase.exception.DatabaseException
- As the connectionURL for Hibernate refers to a config file, just return false
- Specified by:
isLocalDatabase in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
executeStatements
public void executeStatements(liquibase.change.Change change,
liquibase.changelog.DatabaseChangeLog changeLog,
List<liquibase.sql.visitor.SqlVisitor> sqlVisitors)
throws liquibase.exception.LiquibaseException,
liquibase.exception.UnsupportedChangeException
- Specified by:
executeStatements in interface liquibase.database.Database
- Throws:
liquibase.exception.LiquibaseException
liquibase.exception.UnsupportedChangeException
execute
public void execute(liquibase.statement.SqlStatement[] statements,
List<liquibase.sql.visitor.SqlVisitor> sqlVisitors)
throws liquibase.exception.LiquibaseException
- Specified by:
execute in interface liquibase.database.Database
- Throws:
liquibase.exception.LiquibaseException
saveStatements
public void saveStatements(liquibase.change.Change change,
List<liquibase.sql.visitor.SqlVisitor> sqlVisitors,
Writer writer)
throws IOException,
liquibase.exception.UnsupportedChangeException,
liquibase.exception.StatementNotSupportedOnDatabaseException,
liquibase.exception.LiquibaseException
- Specified by:
saveStatements in interface liquibase.database.Database
- Throws:
IOException
liquibase.exception.UnsupportedChangeException
liquibase.exception.StatementNotSupportedOnDatabaseException
liquibase.exception.LiquibaseException
executeRollbackStatements
public void executeRollbackStatements(liquibase.change.Change change,
List<liquibase.sql.visitor.SqlVisitor> sqlVisitors)
throws liquibase.exception.LiquibaseException,
liquibase.exception.UnsupportedChangeException,
liquibase.exception.RollbackImpossibleException
- Specified by:
executeRollbackStatements in interface liquibase.database.Database
- Throws:
liquibase.exception.LiquibaseException
liquibase.exception.UnsupportedChangeException
liquibase.exception.RollbackImpossibleException
saveRollbackStatement
public void saveRollbackStatement(liquibase.change.Change change,
List<liquibase.sql.visitor.SqlVisitor> sqlVisitors,
Writer writer)
throws IOException,
liquibase.exception.UnsupportedChangeException,
liquibase.exception.RollbackImpossibleException,
liquibase.exception.StatementNotSupportedOnDatabaseException,
liquibase.exception.LiquibaseException
- Specified by:
saveRollbackStatement in interface liquibase.database.Database
- Throws:
IOException
liquibase.exception.UnsupportedChangeException
liquibase.exception.RollbackImpossibleException
liquibase.exception.StatementNotSupportedOnDatabaseException
liquibase.exception.LiquibaseException
getLiquibaseSchemaName
public String getLiquibaseSchemaName()
- Specified by:
getLiquibaseSchemaName in interface liquibase.database.Database
getNextChangeSetSequenceValue
public int getNextChangeSetSequenceValue()
throws liquibase.exception.LiquibaseException
- Specified by:
getNextChangeSetSequenceValue in interface liquibase.database.Database
- Throws:
liquibase.exception.LiquibaseException
parseDate
public Date parseDate(String dateAsString)
throws liquibase.exception.DateParseException
- Specified by:
parseDate in interface liquibase.database.Database
- Throws:
liquibase.exception.DateParseException
isReservedWord
public boolean isReservedWord(String string)
- Specified by:
isReservedWord in interface liquibase.database.Database
checkDatabaseChangeLogTable
public void checkDatabaseChangeLogTable(boolean updateExistingNullChecksums,
liquibase.changelog.DatabaseChangeLog databaseChangeLog,
String[] contexts)
throws liquibase.exception.DatabaseException
- Specified by:
checkDatabaseChangeLogTable in interface liquibase.database.Database
- Throws:
liquibase.exception.DatabaseException
supportsDropTableCascadeConstraints
public boolean supportsDropTableCascadeConstraints()
- Specified by:
supportsDropTableCascadeConstraints in interface liquibase.database.Database
Copyright © 2013 Liquibase.org. All Rights Reserved.