[
https://issues.apache.org/jira/browse/OPENJPA-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12837504#action_12837504
]
Fay Wang commented on OPENJPA-1527:
-----------------------------------
The cause of the problem is that the key of the map can be embeddable, which
can have associationOverride specified in the orm.xml. However, currently
openjpa only handles the associationOverride on the element in an element
collection, which can be a map or a collection.
The fix is to loop through the remaining _deferredMappings in the
XMLPersistenceMappingParser (which does not have covered by the _embeddables),
and process the associationOverride information stored in it.
> AssociationOverride does not work when applying to the map key of the element
> collection via orm.xml
> ----------------------------------------------------------------------------------------------------
>
> Key: OPENJPA-1527
> URL: https://issues.apache.org/jira/browse/OPENJPA-1527
> Project: OpenJPA
> Issue Type: Bug
> Components: jpa
> Affects Versions: 2.1.0
> Reporter: Fay Wang
> Assignee: Fay Wang
> Fix For: 2.0.0-beta
>
> Attachments: OPENJPA-1527.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.