org.castor.ddlgen
Class GeneratorFactory
java.lang.Object
org.castor.ddlgen.GeneratorFactory
public final class GeneratorFactory
- extends Object
This class handles the creation for various databse generators.
- Since:
- 1.1
- Version:
- $Revision: 8993 $ $Date: 2011-08-02 01:28:52 +0200 (Di, 02 Aug 2011) $
- Author:
- Le Duc Bao, Ralf Joachim
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createDDLGenerator
public static Generator createDDLGenerator(String engine,
String globalConf,
String specificConf)
throws GeneratorException
- Create DDL Generator for specified database engine with given global and specific
configurations.
- Parameters:
engine - Database engine.globalConf - Global configuration file.specificConf - Specific configuration file for database engine.
- Returns:
- DDL generator for database engine.
- Throws:
GeneratorException - If database engine has not been specified or no
generator is available for the database engine.
Copyright © 2012. All Rights Reserved.