How to create a Criteria object?
This example show you how to create an instance of Hibernate
Criteria class. To create a
Criteria we call the factory method of the
Session object and pass the persistence class as parameter. To execute the
Criteria query we simply call the