db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Dudgeon <tdudg...@informaticsmatters.com>
Subject oracle database model dangerously broken
Date Tue, 31 Jan 2006 12:13:21 GMT
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", 
 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!


View raw message