HHH-8153 Criteria on Enum mapping defined in hbm.xml fails.