My Entity class has only one field and other fields are inherited from MappedSuperClass. When this field is set and an criteria query with exaple is generated where condition is formed as "where (1=1)". I observed the same situation for Long and String types. For fields that are inherited from MappedSuperClass, works just fine.
Regards
|