[
https://issues.apache.org/jira/browse/OPENJPA-2953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18123709#comment-18123709
]
ASF subversion and git services commented on OPENJPA-2953:
----------------------------------------------------------
Commit 911485b3ca86f83c138b468168434bbc520fa05f in openjpa's branch
refs/heads/master from Paulo Cristovão de Araújo Silva Filho
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=911485b3c ]
Merge pull request #200 from apache/OPENJPA-2953
[OPENJPA-2953] Keep converter overrides out of shared embeddable and superclass
meta
> Embedded converter override leaks to shared embeddable meta
> -----------------------------------------------------------
>
> Key: OPENJPA-2953
> URL: https://issues.apache.org/jira/browse/OPENJPA-2953
> Project: OpenJPA
> Issue Type: Sub-task
> Components: jpa
> Affects Versions: 4.2.0
> Reporter: Maxim Solodovnik
> Priority: Major
> Fix For: 4.2.0
>
>
> Discussion thread:
> https://github.com/apache/openjpa/pull/144#discussion_r3682999733
> **(medium)** `propagateEmbeddedConverters()` sets the converter on the shared
> embeddable ClassMetaData. If two entities embed the same embeddable but only
> one declares `@Convert(attributeName=...)`, the override leaks to all other
> usages (last-resolved wins). Should the override only apply to the
> per-embedding `embeddedMeta` copy?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)