[jira] Updated: (JDO-457) Add new tests for compound identity.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > [jira] Updated: (JDO-457) Add new tests for compound identity.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Updated: (JDO-457) Add new tests for compound identity.  
Michelle Caisse (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-15-07 06:11 AM


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

Michelle Caisse updated JDO-457:
--------------------------------

Attachment: jdo-457.diff

The attached patch implements a test for compound identity.  It uses a new p
ersistence capable package, order, with two classes, Order and OrderItem. Th
e test is a new version of the CompletenessTest, CompletenessTestOrder.

The test fails in the RI.  It appears that the two Item instances that are d
efined 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 fiel
ds of reference types, the type of the key field is the reference type in th
e 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 refe
rence 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.







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:47 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register