I tested the changes by building hibernate from source (33a3ff2994d8412ef3c3d68ebe8af5574d05d597) and it still does not work. The error message has changed a little (which seems unrelated to the changes from https://github.com/hibernate/hibernate-orm/pull/6910 ) to: Cannot compare left expression of type 'java.lang.Enum' with right expression of type 'java.lang.Integer' Here the full stack trace:
|