Uploaded image for project: 'JDO'
  1. JDO
  2. JDO-809

Mapping info for ArrayListCollections/TreeSetCollections doesn't correctly map embedded element fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • JDO 2 final (2.0), JDO 3 (3.0), JDO 3.1, JDO 3.2
    • JDO 3.2.1
    • tck
    • None

    Description

      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).

      Attachments

        Activity

          People

            andyj Andy Jefferson
            andyj Andy Jefferson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: