db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Enyedi <robert.eny...@intland.com>
Subject Disabling foreign key constraints
Date Wed, 16 Aug 2006 12:14:08 GMT
Is there a way in Derby to disable foreign key constraints?

This should be something similar to the SET FOREIGN_KEY_CHECKS = 0 
statement in MySQL which, when set, makes the engine to ignore any 
foreign key constraints.

I know that having the database constraints is the way to go, but for 
some scenarios (e.g. unit tests) having partially valid data is just fine.


View raw message