Test case will be attached shortly! The following HQL query has been working fine in Hibernate 5.x.x:
DELETE FROM Event WHERE (:type IS NULL OR type = :type)
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:
|