Wrong order of joins in SQL

Description

Assume the following HQL:

The generated SQL will be:

The association join is rendered before the entity join which results in an error. The order of joins should be retained to make this work.

Environment

None

Activity

Show:
Nathan Xu
September 7, 2020, 4:10 PM

PR created at: . A tricky issue got exposed. Good bug reporting!

Assignee

Nathan Xu

Reporter

Christian Beikov

Fix versions

Labels

None

backPortable

Backport?

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major
Configure