Enum, Query fails to determine the ValueMapping for SqmParameter

Description

Test case:

The following HQL query has been working fine in Hibernate 5.x.x:

It seems, Hibernate fails to detect the enum, if I use another class (non-enum) in the same query it works.

Now, with 6.1.3, I am receiving the following error:

Activity

Show:
Fixed

Details

Assignee

Reporter

Worked in

Fix versions

Affects versions

Priority

Created September 11, 2022 at 11:17 AM
Updated October 5, 2022 at 10:02 AM
Resolved October 4, 2022 at 10:34 AM