Metamodel generation uses wrong access type for embeddables

Description

Given:

Hibernate metamodel generator fails to use the correct access type for the embeddable. Access type is normally being inherited from entity type, if it is not "overriden" on the embeddable type itself. If one specifies a dedicated access type on the embeddable type, this information are used during O/R mapping, but not during metamodel generation, so the outcome of the above mentioned is:


instaed of

Environment

None

Status

Assignee

Unassigned

Reporter

Sven Linstaedt

Fix versions

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure