Andy Jefferson created JDO-809:
----------------------------------

             Summary: Mapping info for ArrayListCollections/TreeSetCollections 
doesn't correctly map embedded element fields
                 Key: JDO-809
                 URL: https://issues.apache.org/jira/browse/JDO-809
             Project: JDO
          Issue Type: Bug
          Components: tck
    Affects Versions: JDO 3.2, JDO 3.1, JDO 3 (3.0), JDO 2 final (2.0)
            Reporter: Andy Jefferson


The tests for the different java.util.Collection types all should follow the 
same pattern, with the samples having a range of fields that cover the primary 
field usages.

Field XXXOfObject1 should represent a Collection of Object, where the Object is 
a PersistenceCapable type, persisting embedded into a join table.

Field XXXOfSimpleClass should represent a Collection of PersistenceCapable 
type, persisting embedded into a join table.

Field XXXOfSimpleInterface should represent a Collection of interface, where 
the interface is a PersistenceCapable type, persisting embedded into a join 
table.

 

In the case of the ArrayList and TreeSet cases the ORM files do not define the 
<embedded> block for how the fields of the PersistenceCapable element will map 
into the join table. The schema for those cases also do not map the fields of 
the PersistenceCapable element, instead just having a FK to the table of the 
element (so not embedded at all).



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to