Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 21540 invoked from network); 19 Feb 2007 16:23:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Feb 2007 16:23:27 -0000 Received: (qmail 77942 invoked by uid 500); 19 Feb 2007 16:23:34 -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 77931 invoked by uid 99); 19 Feb 2007 16:23:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Feb 2007 08:23:34 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Feb 2007 08:23:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EC0A47141F8 for ; Mon, 19 Feb 2007 08:23:05 -0800 (PST) Message-ID: <8065938.1171902185964.JavaMail.jira@brutus> Date: Mon, 19 Feb 2007 08:23:05 -0800 (PST) From: "Craig Russell (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Assigned: (JDO-466) Test for compound identity fails In-Reply-To: <7865486.1171761365870.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JDO-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Craig Russell reassigned JDO-466: --------------------------------- Assignee: Michelle Caisse (was: Andy Jefferson) Good catch! > Test for compound identity fails > -------------------------------- > > Key: JDO-466 > URL: https://issues.apache.org/jira/browse/JDO-466 > Project: JDO > Issue Type: Bug > Components: tck2 > Affects Versions: JDO 2 maintenance release 1 > Reporter: Michelle Caisse > Assigned To: Michelle Caisse > > The new test CompletenessTestOrder (use compoundidentity.conf) fails on the RI. It appears that the OrderItem instances are not persisted to the database. > [echo] Starting configuration="compoundidentity.conf" with database="derby"identitytype="applicationidentity" mapping="". > [java] RUN CompletenessTestOrder.test FAILURE > [java] Description: Completeness test with standard mapping using order model for compound identity testing > [java] Time: 009 > [java] There was 1 failure: > [java] 1) test(org.apache.jdo.tck.mapping.CompletenessTestOrder)junit.framework.AssertionFailedError: CompletenessTestOrder failed; see list of failures below: > [java] Expected this instance: > [java] org.apache.jdo.tck.pc.order.Order@40b181 > [java] Got persistent instance: > [java] org.apache.jdo.tck.pc.order.Order@1108727 > [java] Detailed list of differences follows... > [java] Context: Order<1>.items > [java] expected '[org.apache.jdo.tck.pc.order.OrderItem@2]' > [java] actual '[]' > [java] > [java] at org.apache.jdo.tck.JDO_Test.fail(JDO_Test.java:639) > [java] at org.apache.jdo.tck.mapping.CompletenessTestOrder.test(CompletenessTestOrder.java:122) > [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:254) > [java] at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:108) > [java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:148) > [java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:123) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.