Skip to content
This repository

An automated database patching framework for Java.

README.md

AutoPatch

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.

Requirements

  • 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 AutoPath in your Maven project via:

<dependency>
  <groupId>com.tacitknowledge</groupId>
  <artifactId>autopatch</artifactId>
  <version>1.4.2</version>
</dependency>

Help

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

Something went wrong with that request. Please try again.