About expression

11-20 of 200Refresh
JPA Doc
87

javax.persistence.criteria.Expression

javax.persistence.criteria Interface Expression Superinterfaces: Selection, TupleElementexpressions. Since: JPA 2.0 Learn how to use JPA Criteria API's Expression in Chapter 4 of the ObjectDB/JPA manual
Manual
82

WHERE clause (JPQL / Criteria API)

, the WHERE clause gets an opportunity to function as a filter. The boolean expression in ... objects for which the predicate expression evaluates to TRUE are passed to the SELECT clause ... , making indexes even more essential. JPQL Expressions in WHERE The above queries demonstrate
Manual
80

Collections in JPQL and Criteria Queries

. as path expressions - in navigation to persistent collection fields. IS [NOT] EMPTY The IS [NOT ... Expressions JPQL collection operators and functions (which are described above) are available also as JPA criteria query expressions. The CriteriaBuilder interface provides factory methods for building
JPA Doc
77

as(type)

Method javax.persistence.criteria.Expression Expression as(   Class type ) Perform a typecast upon the expression, returning a new expression object. This method does not cause type conversion ... - intended type of the expression Returns: new expression of the given type Since: JPA 2.0
JPA Doc
76

selectCase(expression)

Method javax.persistence.criteria.CriteriaBuilder SimpleCase selectCase(   Expression expression ) Create a simple case expression. Parameters: expression - to be tested against the case conditions Returns: simple case expression Since: JPA 2.0
JPA Doc
75

in(expression)

Method javax.persistence.criteria.CriteriaBuilder In in(   Expression expression ) Create predicate to test whether given expression is contained in a list of values. Parameters: expression - to be tested against list of values Returns: in predicate Since: JPA 2.0
JPA Doc
75

in(values)

Method javax.persistence.criteria.Expression Predicate in(   Expression> values ) Create a predicate to test whether the expression is a member of the collection. Parameters: values - expression corresponding to collection to be tested against Returns: predicate testing for membership Since: JPA 2.0
JPA Doc
75

in(values)

Method javax.persistence.criteria.Expression Predicate in(   Expression... values ) Create a predicate to test whether the expression is a member of the argument list. Parameters: values - expressions to be tested against Returns: predicate testing for membership Since: JPA 2.0
JPA Doc
75

in(values)

Method javax.persistence.criteria.Expression Predicate in(   Expression values ) Create a predicate to test whether the expression is a member of the collection. Parameters: values - expression corresponding to collection to be tested against Returns: predicate testing for membership Since: JPA 2.0
JPA Doc
75

select(expression)

Method javax.persistence.criteria.Subquery Subquery select(   Expression expression ) Specify the item that is to be returned as the subquery result. Replaces the previously specified selection, if any. Parameters: expression - expression specifying the item that is to be returned as