[jira] Updated: (JDO-193) Need new test cases for Map where there
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-193) Need new test cases for Map where there




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

    [jira] Updated: (JDO-193) Need new test cases for Map where there  
Craig Russell (JIRA)


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


 
06-16-06 12:11 AM

[ http://issues.apache.org/jira/browse/JDO-193?page=all ]

Craig Russell updated JDO-193:
------------------------------

Fix Version: JDO 2 maintenance release 1
Version: JDO 2 final
(was: JDO 2 beta)
Assign To: Michelle Caisse

JDO also allows mapping Lists where there is no join table, and the ordering
 element is contained in the related table.

This should be investigated at the same time.

> Need new test cases for Map where there is no join table; the key is a fie
ld of the value type or  the value is a field of the key type
> --------------------------------------------------------------------------
-------------------------------------------------------------
>
>          Key: JDO-193
>          URL: http://issues.apache.org/jira/browse/JDO-193
>      Project: JDO
>         Type: Test

>   Components: tck20
>     Versions: JDO 2 final
>  Environment: TCK
>     Reporter: Craig Russell
>     Assignee: Michelle Caisse
>      Fix For: JDO 2 maintenance release 1

>
> JDO allows mapping of Maps where there is no join table. The metadata for 
the Employee/Department mapping uses the mapped-by attribute of the map elem
ent:
> <class name="Department">
> <field name="employees" mapped-by="dept">
> <key mapped-by="id"/>
> </field>
> </class>
> <class name="Employee">
> <field name="id" column="ID"/>
> <field name="dept" column="DEPT"/>
> </class>
> Another mapping would have the key of the Map be the Employee and the valu
e be the id.
> We should probably define a separate package for this mapping, as there is some co
nfusion in using parts of the Company model where we have changed a significant part
 of the model.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:13 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