Package org.castor.ddlgen
package org.castor.ddlgen
This package contains functional classes, exceptions and Main class for
DDL generator.
- Author:
- Le Duc Bao
- Author:
- Ralf Joachim
-
ClassDescriptionAbstractGenerator is the base class for various DDL generator of specific DB and handles following tasks: Extract information from Mapping to Schema Loop through the schema and provide a skeleton for DDL creationAbstractTypeMapper is the base class for mapping JDBC supported type and RDBMS data type.Handle the configuration for DDL generator including load configuration files, manage configuration values.Handle the configuration for DDL generator.Replace PrintStream and StringBuffer by a Writer implementation We have various properties to configure output that are in-depended of the schema object: org.castor.ddlgen.CharFormat=SENSITIVE, UPPER and LOWER org.castor.ddlgen.Newline=\n org.castor.ddlgen.Indention=\t These properties are accessed at various places all around ddlgen at the moment.The idea is that these properties are set only once at the new Writer and do not need to be accessed elsewhere.Generator is the interface for various generators.GeneratorException, base class for all DDL generator exception.This class handles the creation for various databse generators.Registry for Generator implementations obtained from the configuration.Interface to be implemented by all key generator factories.Registry for key generator factory implementations obtained from the configuration.Configuration Key does not find exception.Main Program.This class handles all common tasks for manipulating Mapping document.The SchemaFactory handles the creation for various schema objects.Interface associates JDBC type to TypeInfo.Type not found exception.Wrong format exception.