You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Craig Russell (JIRA)" <ji...@apache.org> on 2007/01/05 22:58:27 UTC
[jira] Created: (JDO-457) Add new tests for compound identity.
Add new tests for compound identity.
------------------------------------
Key: JDO-457
URL: https://issues.apache.org/jira/browse/JDO-457
Project: JDO
Issue Type: Test
Components: tck2, tck2-legacy
Affects Versions: JDO 2 final
Reporter: Craig Russell
Assigned To: Michelle Caisse
Fix For: JDO 2 maintenance release 1
In 5.4.1, Compound Identity should be updated to reflect that for key fields of reference types, the type of the key field is the reference type in the class but the oid of the reference type in the oid class.
We need a test for persistent classes in which the key of one class consists of a reference to another class plus another field. For example, LineItem contains a reference to Order plus a LineNumber.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (JDO-457) Add new tests for compound identity.
Posted by "Michelle Caisse (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michelle Caisse updated JDO-457:
--------------------------------
Attachment: jdo-457.diff
The attached patch implements a test for compound identity. It uses a new persistence capable package, order, with two classes, Order and OrderItem. The test is a new version of the CompletenessTest, CompletenessTestOrder.
The test fails in the RI. It appears that the two Item instances that are defined in the test data are not persisted to the database.
> Add new tests for compound identity.
> ------------------------------------
>
> Key: JDO-457
> URL: https://issues.apache.org/jira/browse/JDO-457
> Project: JDO
> Issue Type: Test
> Components: tck2, tck2-legacy
> Affects Versions: JDO 2 final
> Reporter: Craig Russell
> Assigned To: Michelle Caisse
> Fix For: JDO 2 maintenance release 1
>
> Attachments: jdo-457.diff
>
>
> In 5.4.1, Compound Identity should be updated to reflect that for key fields of reference types, the type of the key field is the reference type in the class but the oid of the reference type in the oid class.
> We need a test for persistent classes in which the key of one class consists of a reference to another class plus another field. For example, LineItem contains a reference to Order plus a LineNumber.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (JDO-457) Add new tests for compound identity.
Posted by "Michelle Caisse (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michelle Caisse resolved JDO-457.
---------------------------------
Resolution: Fixed
Completed: At revision: 508529
> Add new tests for compound identity.
> ------------------------------------
>
> Key: JDO-457
> URL: https://issues.apache.org/jira/browse/JDO-457
> Project: JDO
> Issue Type: Test
> Components: tck2, tck2-legacy
> Affects Versions: JDO 2 final
> Reporter: Craig Russell
> Assigned To: Michelle Caisse
> Fix For: JDO 2 maintenance release 1
>
> Attachments: jdo-457.diff
>
>
> In 5.4.1, Compound Identity should be updated to reflect that for key fields of reference types, the type of the key field is the reference type in the class but the oid of the reference type in the oid class.
> We need a test for persistent classes in which the key of one class consists of a reference to another class plus another field. For example, LineItem contains a reference to Order plus a LineNumber.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.