| java.lang.Object liquibase.change.AbstractChange liquibase.change.AbstractSQLChange liquibase.change.SQLFileChange
SQLFileChange | public class SQLFileChange extends AbstractSQLChange (Code) | | Represents a Change for custom SQL stored in a File.
To create an instance call the constructor as normal and then call
before calling setPath otherwise the
file will likely not be found.
author: Paul Keeble |
SQLFileChange | public SQLFileChange()(Code) | | |
getConfirmationMessage | public String getConfirmationMessage()(Code) | | |
getEncoding | public String getEncoding()(Code) | | The encoding of the file containing SQL statements
the encoding |
setEncoding | public void setEncoding(String encoding)(Code) | | Parameters: encoding - the encoding to set |
setPath | public void setPath(String fileName)(Code) | | Sets the file name but setUp must be called for the change to have impact.
Parameters: fileName - The file to use |
Methods inherited from liquibase.change.AbstractChange | public boolean canRollBack()(Code)(Java Doc) protected Change[] createInverses()(Code)(Java Doc) public void executeRollbackStatements(Database database) throws JDBCException, UnsupportedChangeException, RollbackImpossibleException(Code)(Java Doc) public void executeStatements(Database database) throws JDBCException, UnsupportedChangeException(Code)(Java Doc) public SqlStatement[] generateRollbackStatements(Database database) throws UnsupportedChangeException, RollbackImpossibleException(Code)(Java Doc) public String getChangeName()(Code)(Java Doc) public ChangeSet getChangeSet()(Code)(Java Doc) public FileOpener getFileOpener()(Code)(Java Doc) public String getMD5Sum()(Code)(Java Doc) public String getTagName()(Code)(Java Doc) public void saveRollbackStatement(Database database, Writer writer) throws IOException, UnsupportedChangeException, RollbackImpossibleException, StatementNotSupportedOnDatabaseException(Code)(Java Doc) public void saveStatements(Database database, Writer writer) throws IOException, UnsupportedChangeException, StatementNotSupportedOnDatabaseException(Code)(Java Doc) public void setChangeSet(ChangeSet changeSet)(Code)(Java Doc) public void setFileOpener(FileOpener fileOpener)(Code)(Java Doc) public void setUp() throws SetupException(Code)(Java Doc)
|
|
|