Top Methods
org.hibernate.query.criteria

public Interface JpaCriteriaBase

extends CommonAbstractCriteria, JpaCriteriaNode
Known Direct Subinterfaces
org.hibernate.query.criteria.JpaQueryableCriteria, org.hibernate.query.criteria.JpaSelectCriteria, org.hibernate.query.sqm.tree.SqmQuery
Known Direct Implementers
org.hibernate.query.sqm.tree.AbstractSqmRestrictedDmlStatement
Imports
jakarta.persistence.criteria.CommonAbstractCriteria

Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public JpaPredicate
getRestriction()

Redeclares jakarta.persistence.criteria.CommonAbstractCriteria.getRestriction.

Return the predicate that corresponds to the where clause restriction(s), or null if no restrictions have been specified.
public <U> JpaSubQuery<U>
subquery(Class<U>
the subquery result type
type
)

Redeclares jakarta.persistence.criteria.CommonAbstractCriteria.subquery.

Create a subquery of the query.

Method Detail

getRestrictionback to summary
public JpaPredicate getRestriction()

Redeclares jakarta.persistence.criteria.CommonAbstractCriteria.getRestriction.

Doc from jakarta.persistence.criteria.CommonAbstractCriteria.getRestriction.

Return the predicate that corresponds to the where clause restriction(s), or null if no restrictions have been specified.

Returns:JpaPredicate

where clause predicate

Annotations
@Override
subqueryback to summary
public <U> JpaSubQuery<U> subquery(Class<U> type)

Redeclares jakarta.persistence.criteria.CommonAbstractCriteria.subquery.

Doc from jakarta.persistence.criteria.CommonAbstractCriteria.subquery.

Create a subquery of the query.

Parameters
type:Class<U>

the subquery result type

Returns:JpaSubQuery<U>

subquery

Annotations
@Override