query with 'is empty' operator and path of form 'entity.manyToOne.embedded.oneToMany'

Description

I have a query of form:

from Entity e where e.manyToOne.embedded.oneToMany is empty

Where manyToOne is a many-to-one association, oneToMany is a one-to-many association, and embedded is an embeddable.

This results in wildly-incorrect SQL with a missing join.

Environment

None

Assignee

Unassigned

Reporter

Gavin King

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Priority

Major
Configure