When using the isMember operator on a collection of enums the enum parameter is not converted correct. In my attached test case I use hsql, which is throwing an exception:
Caused by: java.sql.SQLSyntaxErrorException: incompatible data type in conversion
Using an oracle-db I just get an empty result, because of the mismatch of the types of the parameter and the field.
It seems as this bug was already described by other tickets: HHH-3017, HHH-3914, and HHH-9176.
Unfortunately until now the bug still exist. I will try do deliver a bug fix the next days.
Closing in preparation of releasing 4.3.9.Final and 4.2.19.Final.