I could not find anywhere if it possible to create metamodel over entites to be used in Hibernate's Criteria API. So I don't have to write strings for fields, but rather rely on the generated metamodel similarly as it can be done with JPA Criteria API.
I noticed that only Strings can be used as parameters in the Hibernate Criteria, so I guess it's not possible?