Honor targetEntity and targetClass from @XToX and @ElementCollection when populating the metamodel?

Description

Should the JPA 2 metamodel honor targetElements?

Environment

None

Activity

Show:
Steve Ebersole
January 22, 2010, 9:11 PM

Per your request:

Emmanuel Bernard
January 22, 2010, 9:12 PM

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.

Emmanuel Bernard
January 22, 2010, 9:12 PM

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.

Assignee

Unassigned

Reporter

Emmanuel Bernard

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure