Criteria Queries: In the Hibernate if we want to do the limitation on the result of a query based values in a field then we use the criteria query. A Query creation is an expression that access compares to query field values to determine whether to include the record that contains each value.
we can take to understand the example of Criteria Query:
="Customer" is an expression that can access compare to values in a text field in a query. If the value of that field in a given record is "Customer" access includes the record in the query results.
It is a string that may consist of field references, operators, and constants. Query criteria are also referred to as expressions in Microsoft Office Access 2007