You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "rzo1 (via GitHub)" <gi...@apache.org> on 2026/10/05 18:13:02 UTC
[PR] [OPENJPA-2953] Keep converter overrides out of shared embeddable and superclass meta [openjpa]
rzo1 opened a new pull request, #200:
URL: https://github.com/apache/openjpa/pull/200
A `@Convert(attributeName=...)` override was written into metadata shared between entities: for an embeddable it went to the repository-level `ClassMetaData` that every embedding copies from, and for an attribute inherited from a `@MappedSuperclass` it went to the superclass own `FieldMetaData`, so in both cases the last resolved entity won for all of them. Overrides now apply only to the per-embedding copy and to the entity own redefinition of an inherited field, and an override on an `@ElementCollection` of an embeddable — which was previously ignored — is applied as well. A converter declared on the embeddable own attribute still applies everywhere.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@openjpa.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [OPENJPA-2953] Keep converter overrides out of shared embeddable and superclass meta [openjpa]
Posted by "cristof (via GitHub)" <gi...@apache.org>.
cristof merged PR #200:
URL: https://github.com/apache/openjpa/pull/200
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@openjpa.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org