If an Entity has a property names "properties", then the CriteriaBuilder.isEmpty fails with : Caused by: org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: generatedAlias0 near line 1, column 67 [select generatedAlias0 from test.Project as generatedAlias0 where generatedAlias0.properties is empty]
Unit test attached. Scc The same code used to work with hibernate 4.2.
|