FromElement orign check fails when fetching @ElementCollection and association

Description

A JPQL like

SELECT b FROM A a INNER JOIN a.b b LEFT JOIN FETCH b.someElementCollection LEFT JOIN FETCH b.someAssociation

results in an error query specified join fetching, but the owner of the fetched association was not present in the select list.
This issue is similar to HHH-11140.

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created January 12, 2019 at 5:49 PM
Updated September 30, 2020 at 5:35 PM
Resolved September 3, 2020 at 6:42 AM

Flag notifications