Apache JDO Project - [jira] Resolved: (JDO-466) Test for compound identity fails

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > February 2007 > [jira] Resolved: (JDO-466) Test for compound identity fails





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Resolved: (JDO-466) Test for compound identity fails
Michelle Caisse (JIRA)

2007-02-19, 1:11 pm


[ https://issues.apache.org/jira/brow...ls:all-tabpanel ]

Michelle Caisse resolved JDO-466.
---------------------------------

Resolution: Fixed

Fixed with revision: 509255

Thanks, Andy.


> 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.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com