db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Mark Donaghy <philip.dona...@gmail.com>
Subject How do I obtain the ddl to dreate the database.
Date Fri, 20 Jan 2006 15:05:03 GMT
I am trying to obtain a file that has the create table statements.

I use ddlToDatabase in the following way,

    <writeSchemaSqlToFile outputFile="database.ddl"/>

I expected the create table statements to be in database.ddl but it
contains only the table alter statements.

    ADD CONSTRAINT "book_FK_author_id_author" FOREIGN KEY
("author_id") REFERENCES "author" ("author_id");

    DROP CONSTRAINT "book_FK_author_id_author";

Am I missing something?

Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62

View raw message