Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 39917 invoked from network); 6 Dec 2005 14:03:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Dec 2005 14:03:31 -0000 Received: (qmail 69215 invoked by uid 500); 6 Dec 2005 14:03:29 -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 69204 invoked by uid 99); 6 Dec 2005 14:03:29 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2005 06:03:29 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 959A2126 for ; Tue, 6 Dec 2005 15:03:08 +0100 (CET) Message-ID: <1131185426.1133877788611.JavaMail.jira@ajax.apache.org> Date: Tue, 6 Dec 2005 15:03:08 +0100 (CET) From: "Michael Watzek (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Created: (JDO-229) Class DeleteCallback must not assume managed relationships. Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Class DeleteCallback must not assume managed relationships. ----------------------------------------------------------- Key: JDO-229 URL: http://issues.apache.org/jira/browse/JDO-229 Project: JDO Type: Bug Components: tck20 Reporter: Michael Watzek Assigned to: Michael Watzek There is a portability issue with test case DeleteCallback: The test case assumes that a JDO implementation supports managed relationships, because it deletes instances which are referenced by other instances. Given that the relationships are represented by foreign keys in the database for which the delete rule is specified as RESTRICT, the test will cause errors for JDO implementations which do not support managed relationships, because it does not nullify those references explicitely, In order to make the test case portable, it should explicitely nullify references to all deleted objects first. Afterwards, it should call Query.deletePersistentAll. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira