org.castor.ddlgen
Class GeneratorFactory
java.lang.Objectorg.castor.ddlgen.GeneratorFactory
public final class GeneratorFactory
extends java.lang.Object
This class handles the creation for various databse generators.
$Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $static Generator | createDDLGenerator(String engine, String globalConf, String specificConf)- Create DDL Generator for specified database engine with given global and specific
configurations.
|
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.
engine - Database engine.globalConf - Global configuration file.specificConf - Specific configuration file for database engine.
- DDL generator for database engine.
GeneratorException - If database engine has not been specified or no
generator is available for the database engine.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com