I’m trying to figure out how to generate the DDL for an entire schema.
I’m using 6.0.1.
I can right-click on a single table and get DDL for that — and it looks great.
But when I select multiple tables / Generate / DDL,
I only get the DDL for the first table selected.
We have well over 1000 tables, and we will likely need to export multiple times as changes are introduced.
I’ve also started down the ‘hibernate’ route of doing this, without much luck.
An internal error occurred during: “Generating Artifacts”.
Duplicate names found for primarykey. Existing name: TJD JDBC name: CID on table org.hibernate.mapping.Table(PROFILESCHEMA.ABPJNL)
I don’t quite understand how it thinks there are duplicate names.
Here is the DDL generated from the DB Browser:
create table “ABPJNL”(
“TJD” DATE not null,
“CID” NUMERIC(12) not null,
“ACTIBPAY” BIT,
constraint “TJD” primary key (“TJD”,”CID”)
);
Thanks,
–Erik Ostermueller