Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 44962 invoked from network); 13 Oct 2006 01:21:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Oct 2006 01:21:41 -0000 Received: (qmail 62614 invoked by uid 500); 13 Oct 2006 01:21:39 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 62587 invoked by uid 500); 13 Oct 2006 01:21:39 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Delivered-To: moderator for derby-user@db.apache.org Received: (qmail 21920 invoked by uid 99); 13 Oct 2006 00:32:41 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of chas66@gmail.com designates 64.233.182.191 as permitted sender) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=QQPF5nlU3IGt9e+DZBsMcKADg1kLb3pXsXONnKm9nSDMP/CLf0yX9DMGed/CmgOYT1CuZYGgnsWxYRGc2N7dSInvCpryWR94C3tCak694mlxB/wWtcHX0QJeMoWPRFa442CCeM+UIRTXkD/BqsVqYqPaFnfwTxIecMpiuAz9bws= Message-ID: <375e8d880610121732n3ab7b2bbq6b06d1027ab842e5@mail.gmail.com> Date: Fri, 13 Oct 2006 10:32:19 +1000 From: "Chris Barham" Sender: chas66@gmail.com To: derby-user@db.apache.org Subject: Is it Possible to Turn off Referential Constraints for a DBUNIT Load? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 33d591f9f0607734 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, When using DBUnit to load a flat XML file into Derby, is it possible to disable referential checking to get the file to load? Specifically I am looking for the Mysql equivalent of FOREIGN_KEY_CHECKS=0 as recommended to solve this problem (for Mysql) at http://raibledesigns.com/page/rd?entry=dbunit_tip_turn_off_foreign Many Thanks, Chris -- ------------------------------------------------- Christopher Barham cbarham@pobox.com