org.modeshape.util
Class SchemaGen
java.lang.Object
org.modeshape.util.SchemaGen
public class SchemaGen
- extends Object
Main class to generate DDL that can be used to build the schema for the JPA connector. The class is intended
to be bundled into an executable jar file and invoked with the following syntax:
java -jar <jar_name> -dialect <dialect name> -model <model_name> [-out <path to output directory>]
Example: java -jar dna-jpa-ddl-gen-0.7-jar-with-dependencies.jar -dialect HSQL -model Basic -out /tmp
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CREATE_FILE_NAME
public static final String CREATE_FILE_NAME
- See Also:
- Constant Field Values
DROP_FILE_NAME
public static final String DROP_FILE_NAME
- See Also:
- Constant Field Values
USAGE
public static final String USAGE
- See Also:
- Constant Field Values
SchemaGen
public SchemaGen(String dialect,
String model,
File outputPath)
main
public static void main(String[] args)
throws IOException
- Throws:
IOException
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.