public class JpaMigrator extends Object
| Constructor and Description |
|---|
JpaMigrator() |
public static void main(String[] jiras) throws JpaMigrateException
Executes the database migration for the provided JIRAs numbers. For example, for the https://issues.apache.org/jira/browse/IMAP-165 JIRA, simply invoke with IMAP165 as parameter. You can also invoke with many JIRA at once. They will be all serially executed.
TODO Extract the SQL in JAVA classes to XML file. TODO Log with slf4j.jiras - the JIRAs numbersJpaMigrateExceptionCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.