Maxim Solodovnik created OPENJPA-2953:
-----------------------------------------

             Summary: 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
             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)

Reply via email to