Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 67869 invoked from network); 3 May 2005 22:09:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 May 2005 22:09:37 -0000 Received: (qmail 96234 invoked by uid 500); 3 May 2005 22:11:21 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 96218 invoked by uid 99); 3 May 2005 22:11:21 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp.mailix.net (HELO smtp.mailix.net) (216.148.213.132) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 03 May 2005 15:11:21 -0700 Received: from [192.168.8.8] (helo=localhost) by smtp.mailix.net with asmtp (Exim 4.24-CA) id 1DT5a5-0002Hy-6t for jdo-dev@db.apache.org; Tue, 03 May 2005 15:09:29 -0700 Received: from 90-246.246.81.adsl.skynet.be (90-246.246.81.adsl.skynet.be [81.246.246.90]) by webmail.jpox.org (IMP) with HTTP for ; Tue, 3 May 2005 15:09:29 -0700 Message-ID: <1115158169.4277f6992c117@webmail.jpox.org> Date: Tue, 3 May 2005 15:09:29 -0700 From: erik@jpox.org To: jdo-dev@db.apache.org References: <42727265.7070100@sun.com> <42753BBE.6060000@spree.de> <42768B2B.70600@sun.com> <4276A522.5030104@spree.de> <4276BA65.5000700@sun.com> <4277DC9F.9000802@spree.de> In-Reply-To: <4277DC9F.9000802@spree.de> MIME-Version: 1.0 User-Agent: Internet Messaging Program (IMP) 3.2.3 X-Originating-IP: 81.246.246.90 X-SA-Exim-Mail-From: erik@jpox.org Subject: Re: pmf not closed Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on southcarolina.backend X-Spam-Status: No, score=-2.6 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME, TW_PM autolearn=failed version=3.0.2 X-Spam-Level: X-SA-Exim-Version: 3.1 (built Thu Oct 23 13:26:47 PDT 2003) X-SA-Exim-Scanned: Yes X-uvscan-result: clean (1DT5a5-0002Hy-6t) X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Quoting Michael Bouschen : > Hi Michelle, > > thanks for testing. > > > Hi, Michael, > > > > The tests still don't pass because you are attempting to delete the > > PCPoints before the PCRects. Even though it is one transaction, you > > have to change the order as I did below. > > I agree we need to change the order and delete PCRect instances first as > you suggest. The cleanup code should succeed in any case. But maybe this > scenario is an interesting test for the TCK delete test. I think the JDO > implementation should reorder the SQL DELETE statements according to the > foreign keys in the database such that the transaction succeeds no > matter which instances the user deleted first in the JDO transaction. > If the fields lowerRight and upperLeft ate set as dependent in the metadata, this will probably solve the issue. Regards, Erik Bengtson