Subclass embeddable sub-properties ignored if superclass has property with same name

Description

The type Person has some properties mapped and is the base of an inheritance hierarchy.
A subtype Employee has an embeddable EmployeeContact that contains properties with the same name e.g. personList. It seems that all properties of the embeddable EmployeeContact that have the same name as a supertype property, are ignored. When commenting out the properties on the supertype Person, the properties of the subtype embeddables get picked up properly.

The attached test case shows the problem with joined inheritance but it's the same with single table and table per class inheritance, just change the strategy to verify that on Person.

Environment

None

Status

Assignee

Andrea Boriero

Reporter

Christian Beikov

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Critical
Configure