liquibase.change.custom
Interface CustomSqlRollback
public interface CustomSqlRollback
Interface to implement that allows rollback of a custom sql change.
- See Also:
CustomSqlChange
generateRollbackStatements
SqlStatement[] generateRollbackStatements(Database database)
throws CustomChangeException,
UnsupportedChangeException,
RollbackImpossibleException
- Generates the SQL statements required to roll back the change
- Parameters:
database
- the target Database
associated to this change's rollback statements
- Returns:
- an array of
SqlStatement
s with the rollback statements
- Throws:
CustomChangeException
- if an exception occurs while processing this rollback
UnsupportedChangeException
- if this change is not supported by the Database
passed as argument
RollbackImpossibleException
- if rollback is not supported for this change
Copyright © 2012 Liquibase.org. All Rights Reserved.