Apache JDO Project - [jira] Resolved: (JDO-193) Need new test cases for Map and List

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > October 2006 > [jira] Resolved: (JDO-193) Need new test cases for Map and List





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-193) Need new test cases for Map and List
Michelle Caisse (JIRA)

2006-10-05, 7:11 pm

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

Michelle Caisse resolved JDO-193.
---------------------------------

Resolution: Fixed

JDO-430 is now tracking the remaining issues on this case.

> Need new test cases for Map and List where there is no join table; the key is a field 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
> Issue Type: Test
> Components: tck20
> Affects Versions: JDO 2 final
> Environment: TCK
> Reporter: Craig Russell
> Assigned To: Michelle Caisse
> Fix For: JDO 2 maintenance release 1
>
> Attachments: JDO-193.patch
>
>
> 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 element:
> <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 value be the id.
> We should probably define a separate package for this mapping, as there is some confusion 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



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com