criteria.add(Restrictions.isNotEmpty("description"));
The isNotEmpty restriction is meant for collections. Here's a comment from the javadoc:
Constrain a collection valued property to be non-empty
If you want to check the "description", which i guess is a
String, is not an empty string, then you could do this instead: