Exception when fetch joining a non-collection when selecting non-query-root

Description

The discussion happened on Zulip in hibernate-user/EntityGraph resolution

The reproducer is attached.

Environment

None

Assignee

Christian Beikov

Reporter

Christian Beikov

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure