An automated database patching framework for Java.
Latest commit a2a7cd4 Sep 19, 2016
danvalencia Merge pull request #47 from scottfromsf/master
Updated to work with Java 7 and Java 8


AutoPatch automates the application of changes to persistent storage.

AutoPatch was born from the needs of using an agile development process while working on systems that have persistent storage. Without AutoPatch, developers usually can't afford the maintenance headache of their own database, and DBAs are required just to apply changes to all of the various environments a serious development effort requires.

The very application of database changes becomes an inefficient, error-prone, expensive process, all conspiring to discourage any refactoring that touches the model, or being a bottleneck when model changes are made.

AutoPatch solves this problem, completely.

With AutoPatch, an agile development process that requires a database change looks like this:

  • Developer alters the model, which requires a change to the database
  • Developer possibly consults a DBA, and develops a SQL patch against their personal database that implements the alteration
  • Developer commits the patch to source control at the same time as they commit their dependent code
  • Other developers' and environments' databases are automatically updated by AutoPatch the next time the new source is run

This represents streamlined environment maintenance, allowing developers to cheaply have their own databases and all databases to stay in synch with massively lower costs and no environment skew.


  • Java 6. That's it.

Where do I get AutoPatch?

AutoPatch is open source and is hosted at Github.

The documentation for AutoPatch is on the AutoPatch Wiki

You can include AutoPatch in your Maven project via:



If you have a question about AutoPatch feel free to post it up to our new AutoPatch Google Group.