Skip to content

How to implement a patch

Scott Askew edited this page May 6, 2011 · 2 revisions

SQL data load patch

A SQL data load patch can be implemented by extending SqlLoadMigrationTask and including the delimited data file...

SQL patch

SQL patches should be implemented by simply following the SQL file naming convention outlined above as you create the new SQL patch, putting the SQL commands in the patch file, and then by putting the patches in the classpath in a location specified in the AutoPatch configuration file.

Java patch

Java patches may be implemented by subclassing MigrationTaskSupport.

XML Data Patch

Create an xml file that follows the format of DBUnit's FlatXmlDataSet format. Also, it should follow the naming convention patchNNNN_{name}.xml.

Clone this wiki locally