AuditQuery throws exception due to incorrect parameter bindings

Description

Using the following query

results in the following exception

Taken from https://stackoverflow.com/questions/59268392/hibernate-5-2-8-final-wrong-binding-index

Environment

None

Assignee

Chris Cranford

Reporter

Chris Cranford

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure