Home » Search

About expression

21-30 of 200Refresh
JPA Doc
64

in(values)

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

in(values)

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

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
59

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
Manual
45

SELECT clause (JPQL / Criteria API)

objects. JPA 2 adds the ability to use almost any valid JPQL expression in SELECT clauses ... - JPQL does not support the "SELECT *" expression (which is commonly used in SQL). Projection of Path Expressions JPQL queries can also return results which are not entity objects. For example
Manual
44

Date and Time in JPQL and Criteria Queries

Date and time expressions may appear in JPQL queries: as date and time literals - e.g. {d '2011-12 ... expressions - in navigation to persistent date and time fields. as results of predefined JPQL current date and time functions. Current Date and Time JPA defines special JPQL expressions
Manual
42

GROUP BY and HAVING clauses

the first letters as result. ObjectDB is very flexible in allowing JPQL expressions anywhere in ... . Only identification variables and path expressions are currently supported in the GROUP BY clause by all the JPA ... that are in use by countries in that group. The DISTINCT keyword in a COUNT aggregate expression, as
Manual
36

JPA Criteria API Queries

, the range variable, c, is also used in the SELECT clause as the query result expression ... on how to set criteria query clauses and build criteria expressions. Running this query requires ... , including in the context of string based JPQL queries. Criteria Query Expressions JPA query clauses
Manual
30

FROM clause (JPQL / Criteria API)

at the WHERE clause level by using a type expression. For example, in the following query, c iterates ... variable that serves as a root and additional join variables that are bound to path expressions. Join variables can also be bound to path expressions that are based on other join variables
JPA Doc
27

javax.persistence.criteria.Subquery

javax.persistence.criteria Interface Subquery Superinterfaces: AbstractQuery, Expressionexpression as its selection item. Since: JPA 2.0 Selection alias(String ... Returns: selection item Since: JPA 2.0 Expression as(Class type) Perform a typecast