Skip to:
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).
select key(c).id from Entity e join e.map c
ClassCastException
EntityCollectionPart
key(c)
A query like
select key(c).id from Entity e join e.map c
will fail with aClassCastException
because we return the "wrong" model part from theEntityCollectionPart
that representskey(c)
.