Select alias in Criteria API seems to bleed into where condition

Description

Fails with the following exception:

Note the where clause mentioned in the exception: where generatedAlias0.id as x=:id.

This happens only in 5.4.1-SNAPSHOT; 5.4.0.Final seems to be fine.

Environment

None

Status

Assignee

Guillaume Smet

Reporter

Jens Schauder

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Worked in

5.4.0

Components

Affects versions

Priority

Major
Configure