The gateway to this functionality is
org., which extends
jakarta..
Types defined in this package extend the equivalent types in
jakarta. with additional operations. For example,
org. adds the methods:
org.hibernate.query.criteria.JpaCriteriaQuery#from(Subquery) ,
which allows the use of a subquery in the from clause of the
query, and
org.hibernate.query.criteria.JpaCriteriaQuery#with(AbstractQuery) ,
which allows the creation of common table expressions.
The very useful operation org.
transforms a given HQL query string to an equivalent criteria query.
The class org. is a helpful
utility that makes it easier to construct criteria queries.
org.hibernate.query.criteria.HibernateCriteriaBuilder , org.hibernate.query.criteria.JpaCriteriaQuery , org.hibernate.query.criteria.JpaCriteriaUpdate , org.hibernate.query.criteria.JpaCriteriaDelete , org.hibernate.query.criteria.JpaCriteriaInsertValues , org.hibernate.query.criteria.JpaCriteriaInsertSelect , org.hibernate.query.criteria.JpaCteCriteria , org.hibernate.query.criteria.JpaSubQuery , org.hibernate.query.criteria.JpaExpression , org.hibernate.query.criteria.HibernateCriteriaBuilder#createQuery(java.lang.String, java.lang.Class) , org.hibernate.query.criteria.CriteriaDefinition
| Modifier and Type | Interface and Description |
|---|---|
| public interface | HibernateCriteriaBuilder
A JPA |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | JpaCriteriaInsertSelect<T>
A representation of SqmInsertSelectStatement at the
|
| public interface | JpaCriteriaInsertValues<T>
A representation of SqmInsertValuesStatement at the
|
| public interface | JpaCriteriaNode
Base contract for nodes making up the criteria tree |
| public interface | |
| public interface | |
| public interface | |
| public interface | JpaCteContainer
Common contract for criteria parts that can hold CTEs (common table expressions). |
| public interface | |
| public interface | JpaCteCriteriaAttribute
Describes the attribute of a |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | JpaFunction<
The type of the function result. T>Contract for expressions which model a SQL function call. |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | JpaQueryableCriteria<T>
Common contract for the forms of criteria that are "queryable" - can be
converted into a |
| public interface | |
| public interface | JpaQueryPart<T>
Models a query part i.e. the commonalities between a query group and a query specification. |
| public interface | |
| public interface | |
| public interface | |
| public interface | JpaSearchOrder
Represents the search order for a recursive CTE (common table expression). |
| public interface | JpaSelectCriteria<T>
Commonality between a JPA |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface | JpaWindow
Common contract for window parts used in window and aggregate functions. |
| public interface | JpaWindowFrame
Common contract for a |
| Modifier and Type | Class and Description |
|---|---|
| public abstract class | CriteriaDefinition<
the query result type R>A utility class that makes it easier to build criteria queries. |
| Modifier and Type | Enum and Description |
|---|---|
| public enum | ValueHandlingMode
This enum defines how values passed to JPA Criteria API are handled. |