public class Main
extends java.lang.Object
| Constructor and Description |
|---|
Main(javax.sql.DataSource dataSource,
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.
|
public Main(java.lang.String contextPath)
throws java.lang.Exception
java.lang.Exceptionpublic Main(javax.sql.DataSource dataSource,
org.hibernate.dialect.Dialect dialect)
throws java.lang.Exception
connection - the database connection to use for metadata queriesdialect - the Hibernate dialectjava.lang.Exceptionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
args - the args: <context.xml> <output.xml>java.lang.Exceptionpublic void execute(java.io.File outputFile)
throws java.lang.Exception
outputFile - the file to write tojava.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.