|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.util.schemadump.Main
public class Main
Simple command line utility to help with database schema comparisons and upgrades. Dumps a database schema via JDBC to a normalised XML form.
| Constructor Summary | |
|---|---|
Main(java.sql.Connection connection,
org.hibernate.dialect.Dialect dialect)
Create a new instance of the tool within the context of an existing database connection |
|
Main(java.lang.String contextPath)
Creates a new instance of this tool by starting up a full context. |
|
| Method Summary | |
|---|---|
org.alfresco.util.schemadump.Main.NamedElementCollection |
execute()
Execute. |
void |
execute(java.io.File outputFile)
Execute, writing the result to the given file. |
static void |
main(java.lang.String[] args)
The main method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Main(java.lang.String contextPath)
throws java.lang.Exception
java.lang.Exception
public Main(java.sql.Connection connection,
org.hibernate.dialect.Dialect dialect)
throws java.lang.Exception
connection - the database connection to use for metadata queriesdialect - the Hibernate dialect
java.lang.Exception| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - the args: <context.xml> <output.xml>
java.lang.Exception
public void execute(java.io.File outputFile)
throws java.lang.Exception
outputFile - the file to write to
java.lang.Exception
public org.alfresco.util.schemadump.Main.NamedElementCollection execute()
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||