db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Dudziak <tom...@gmail.com>
Subject Re: oracle database model dangerously broken
Date Tue, 31 Jan 2006 12:33:37 GMT
On 1/31/06, Tim Dudgeon <tdudgeon@informaticsmatters.com> wrote:
> If you read the model of an Oracle database and then try an
> alterTables() with this unchanged model DDLUtils incorrectly thinks it
> needs to make lots of changes to the database and can corrupt the
> database. For instance if you do this:
>  Database db = platform.readModelFromDatabase("test", null, "MYSCHEMA",
> null);
>  platform.alterTables(db, false, false, false);
> then DDLUtils want to make lots of changes to the database, even though
> you have made no changes at all.
> I do NOT recommend you try this for yourself!

Please be more specific, e.g. post an original model and what DdlUtils
reads back.


View raw message