Maxim Solodovnik created OPENJPA-2957:
-----------------------------------------
Summary: hasEmbeddableAnnotation relies on annotation simple name
Key: OPENJPA-2957
URL: https://issues.apache.org/jira/browse/OPENJPA-2957
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_r3683000358
**(low)** `hasEmbeddableAnnotation` matches any annotation whose simple name is
"Embeddable" (from any package) and misses embeddables declared only in orm.xml
- would checking the repository metadata (e.g. `fmd.getEmbeddedMetaData()`) be
more reliable than reflection on annotation names?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)