-
Notifications
You must be signed in to change notification settings - Fork 19
How to implement a patch
Scott Askew edited this page May 6, 2011
·
2 revisions
A SQL data load patch can be implemented by extending SqlLoadMigrationTask and including the delimited data file...
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 patches may be implemented by subclassing MigrationTaskSupport.
Create an xml file that follows the format of DBUnit's FlatXmlDataSet format. Also, it should follow the naming convention patchNNNN_{name}.xml.
- Overview
- Design Requirements
- Basic Design
- Detailed Design
- How to integrate AutoPatch with a web application
- How to integrate AutoPatch with your development cycle
- How to implement a patch
- How to extend AutoPatch with new patch types
- How to rollback patches
- How to migrate from AutoPatch 1.1 to AutoPatch 1.2
- How to Migrate to AutoPatch 1.3