Should the JPA 2 metamodel honor targetElements?
Per your request:
Note that we'd better align with
These should be consistent.
As it is today they are not. The JPA model gen (partially) honor the targetEntity and HEM does not.
Intuitively I think it should honor targetEntity, that's why I've started the work on METAGEN-20. But that's not a big priority.