db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Barham" <cbar...@pobox.com>
Subject Re: Is it Possible to Turn off Referential Constraints for a DBUNIT Load?
Date Mon, 16 Oct 2006 11:07:25 GMT
On 10/16/06, Michael Segel <msegel@segel.com> wrote:
<snip>
> [mjs]
> If you think about it, you don't have to *have* referential constraints on a
> table. They are placed there for a reason.
>
> So why do you want to load data that may violate them?

Because DBUnit is a very convenient way to put a database into a known
state, except when references become a problem for the flat file
nature of the source.  No other reason; I am not a mysql fanboy,
merely trying to get stuff done.

Chris

Mime
View raw message