Hi,
Getting back to this issue.
If it were only for the render() case, I would have registered the enums as
parameters as done before, in all cases.
But considering the renderProjection() case where we should avoid
parameters, I wonder if we should register a ValueHandler for enums.
Obviously,
HHH-13016 looks like a duplicate of HHH-12184. Both mention that this
worked in 5.1.10.
The spec is clear that, for queries, this is supported. The overview for
Criteria API states, "The semantics of criteria queries are designed to
reflect those of Java Persistence query language queries."