db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCutcheon <michaelm...@frontiernet.net>
Subject how to make create script from existing database?
Date Tue, 12 Sep 2006 05:14:34 GMT
I'm using the CREATE TABLES feature of toplink/netbeans with the JPA.

Basically it generates the tables from your entity classes.

What I would like to do then is generate a database creation script  
from the generated tables that shows the create table/constraints, etc.

This is so that I can reproduce everything in the schema in another  
database (i.e. dev/test/prod) cleanly.  Also would like to see the  
constraints it is generating, etc.

Is there a way to do this with derby?



View raw message