Castor DDL generator document
Description
Castor DDL script generator from Castor JDO mapping is a tool which generates a specific RDBMS DDL script for a set of Castor mappings. The DDL script includes commands for creating tables, creating unique keys, adding sequences. Normally, developer creates mapping files, Java objects, and DDL script to create database. This manual creation wastes so much time, re-do everything whenever a mapping is changed, and drives many invisible bugs: inconsistency between mapping and database, hard to test. This tool aims to create automatically DDL for a mapping.
Beside the Castor Source Generator, the Castor DDL script generator will make developer be more comfortable to use Castor. In the future, it can wrap together Castor source generator and Castor DDL generator to a complete tool.
3 Comments
Hide/Show CommentsJun 08, 2006
Werner Guttmann
That section on JDBC types currently not supported by Castor reminded me that it shoudl be quite straight-forward to implement support for ARRAY.
Aug 21, 2006
llmlx
May you tell me where i can download this tool?
Oct 07, 2006
Ralf Joachim
DDL generator is not available for download yet but will be integrated into Castor soon.