This error is likely fixed by https://github.com/hibernate/hibernate-orm/pull/6910 which does more careful but also slightly less “fussy” typechecking of comparison expressions. I don’t love it, but I’m convinced by:
- the desire for backward compatibility here, together with
- the fact that a similar sort of “forgiving-ness” is needed for user-defined types, which have no well-defined literal syntax.
|