5.2.15 regression: 'could not resolve property: attributes of: org.hibernate.test.inheritance.discriminator.JoinedInheritanceTest$BaseEntity' with FetchType.EAGER

Description

Upgrading hibernate-core-5.2.13 to 5.2.14 recently failed due to https://hibernate.atlassian.net/browse/HHH-12333 reported by me and https://hibernate.atlassian.net/browse/HHH-12332.

Now, in hibernate-core 5.2.15 these issues seem to be fixed. However, a new one arises.

Stack trace:

You can simply reproduce it by changing EntityA to use FetchType.EAGER instead of FetchType.LAZY in your JoinedInheritanceTest like so:

Environment

WildFly 11/12, Java 9

Status

Assignee

Christian Beikov

Reporter

cnsgithub

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Worked in

5.2.13

Components

Affects versions

Priority

Major
Configure