ClassCastException when selecting map key FK part

Description

A query like select key(c).id from Entity e join e.map c will fail with a ClassCastException because we return the "wrong" model part from the EntityCollectionPart that represents key(c).

Activity

Show:
Fixed

Details

Assignee

Reporter

Worked in

Components

Fix versions

Affects versions

Priority

Created June 23, 2022 at 7:43 AM
Updated July 1, 2022 at 12:08 PM
Resolved June 23, 2022 at 8:34 PM