HQL left join fetch not working in inheritance scenario: org.hibernate.QueryException: could not resolve property

Description

I have the following entity configuration:

Entity.java

The query

throws this exception:

This used to work. I am not expert on HQL specification, so not sure whether this is a bug or intended feature.

Environment

Hibernate - 5.2.15
JVM - 1.8.0_161-b12
Postgresql 9.6.8
Linux 3.13.0-143-generic

Status

Assignee

Christian Beikov

Reporter

Ondra David

Fix versions

None

Labels

None

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