Inverse relations not set for MapKey field when using parallel eager select
---------------------------------------------------------------------------

                 Key: OPENJPA-1184
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1184
             Project: OpenJPA
          Issue Type: Bug
          Components: jdbc
    Affects Versions: 1.2.1
         Environment: All environments using JDBC store.
            Reporter: David Minor


When selecting multiple entities A which contain a @MapKey field for entity B, 
the inverse relation from B to A will only be set for the first entity A, when 
using parallel eager select. This is because all entity B objects are created 
when loading the 1st entity A object, with the inverse relation to be set later 
in setInverseRelation(), but setInverseRelation() is looking for Collection 
fields only, so the Map fields are ignored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to