Package org.hibernate.query

Everything related to HQL/JPQL, native SQL, and criteria queries.

The important interfaces SelectionQuery, MutationQuery, Query, and NativeQuery provide an API for executing queries. Instances of these interfaces may be obtained from a QueryProducer, that is, from any Session or StatelessSession.

Hibernate's extensions to the JPA criteria query API are defined in the subpackage org.hibernate.query.criteria, with HibernateCriteriaBuilder as the entry point.

Other subpackages contain SPIs and internal implementation details, including the HQL parser and translator.