Home » Search

About CriteriaBuilder

1-10 of 200Refresh
Manual
87

JPA Criteria API Queries

Country c An equivalent query can be built using the JPA criteria API as follows: CriteriaBuilder cb ... c = q.from(Country.class); q.select(c); The CriteriaBuilder interface serves as the main ... query can be built using the JPA criteria API as follows: CriteriaBuilder cb = em.getCriteriaBuilder
JPA Doc
83

JPA Queries

the criteria API is the CriteriaBuilder interface: A CriteriaBuilder instance is the factory of criteria
JPA Doc
35

javax.persistence.criteria.CriteriaBuilder.In

javax.persistence.criteria Interface CriteriaBuilder.In Superinterfaces: ExpressionCriteriaBuilder.not() method. Whether the predicate has been created from another predicate by applying the Predicate.not() method or the CriteriaBuilder.not
JPA Doc
32

abs(x)

Method javax.persistence.criteria.CriteriaBuilder Expression abs(   Expression x ) Create an expression that returns the absolute value of its argument. Parameters: x - expression Returns: absolute value Since: JPA 2.0
JPA Doc
32

all(subquery)

Method javax.persistence.criteria.CriteriaBuilder Expression all(   Subquery subquery ) Create an all expression over the subquery results. Parameters: subquery - subquery Returns: all expression Since: JPA 2.0
JPA Doc
32

and(restrictions)

Method javax.persistence.criteria.CriteriaBuilder Predicate and(   Predicate... restrictions ) Create a conjunction of the given restriction predicates. A conjunction of zero predicates is true. Parameters: restrictions - zero or more restriction predicates Returns: and predicate Since: JPA 2.0
JPA Doc
32

and(x, y)

Method javax.persistence.criteria.CriteriaBuilder Predicate and(   Expression x,   Expression y ) Create a conjunction of the given boolean expressions. Parameters: x - boolean expression y - boolean expression Returns: and predicate Since: JPA 2.0
JPA Doc
32

and(x, y)

Method javax.persistence.criteria.CriteriaBuilder Predicate and(   Expression x,   Expression y ) Create a conjunction of the given boolean expressions. Parameters: x - boolean expression y - boolean expression Returns: and predicate Since: JPA 2.0
JPA Doc
32

any(subquery)

Method javax.persistence.criteria.CriteriaBuilder Expression any(   Subquery subquery ) Create an any expression over the subquery results. This expression is equivalent to a some expression. Parameters: subquery - subquery Returns: any expression Since: JPA 2.0
JPA Doc
32

array(selections)

Method javax.persistence.criteria.CriteriaBuilder CompoundSelection array(   Selection... selections ) Create an array-valued selection item. Parameters: selections - selection items Returns: array-valued compound selection Throws: IllegalArgumentException - if an argument is a tuple- or array-valued selection item Since: JPA 2.0