What is "criteria"

A typical ORM frameworks mechanism that allows the creation of queries in the database in a dynamic and object-oriented way. When writing a query using Criteria an API is used instead of writing a query using a defined language (SQL).

Most ORM frameworks provide Apis Criteria, such as Hibernate Criteria. After the release of JPA it was standardized as JPA Criteria.