Here are examples of Criteria Query in Hibernate and all the examples comes with the running source code which helps learning hibernate programming easily.
You must be aware about the SQL, the Standard Query Language which is used directly against the database for adding, retrieving, updating and deleting the data stored in database. Similarly Hibernate also provides the HQL for forming such operations on the Objects which is translated into the appropriate database specific SQL queries.
The Hibernate query Language can be used easily to perform Add, Update, Search and delete operations.
Following are the examples of Hibernate Criteria Query: