About Criteria API

21-30 of 200Refresh
Manual
74

JPA Query Expressions (JPQL / Criteria)

Query expressions are the foundations on which JPQL and criteria queries are built. Every query ... of JPQL / Criteria query expressions. Atomic Expressions The atomic query expressions are: JPQL / Criteria Variables JPQL / Criteria Parameters JPQL / Criteria Literals Every query expression consists
JPA Doc
74

Criteria Query From Elements

The interfaces in this group are in use for setting a criteria query FROM clause. Criteria Query ... are represented in criteria queries by descendant interfaces of the From interface: Range variables ... and its descendant interfaces: See the FROM in Criteria Queries section for more details and examples. Join
Manual
74

JPA Query Structure (JPQL / Criteria)

on how to set criteria query clauses are provided as follows: Criteria SELECT (select, distinct, multiselect, array, tuple, construct). Criteria FROM (from, join, fetch). Criteria WHERE (where). Criteria GROUP BY / HAVING (groupBy, having, count, sum, avg, min, max, ...). Criteria ORDER BY (orderBy, Order, asc, desc).
Manual
71

Numbers in JPQL and Criteria Queries

of any type and always returns a double value. Criteria Query Arithmetic Expressions JPQL arithmetic operators and functions (which are described above) are available also as JPA criteria query ... requires two operands. At least one operand must be a criteria numeric expression. The other operand
Manual
71

Strings in JPQL and Criteria Queries

operator). Criteria Query String Expressions JPQL string operators and functions (which are described above) are available also as JPA criteria query expressions. The CriteriaBuilder interface provides ... and when applicable simple Java objects as well as criteria expressions.
Manual
70

Date and Time in JPQL and Criteria Queries

in Criteria Queries The CriteriaBuilder interface provides three factory methods for building date ... when the query is run. Functions for extracting date and time parts are also available in criteria queries
Manual
70

Collections in JPQL and Criteria Queries

of collection, so in ObjectDB these operators are treated as synonyms. Criteria Query Collection ... criteria query expressions. The CriteriaBuilder interface provides factory methods for building
Manual
69

Literals in JPQL and Criteria Queries

specifying another name explicitly in the @Entity's name annotation element. Criteria Query Literals
JPA Doc
69

Criteria Query Expressions

The following interfaces are in use in representing general expressions in criteria queries: See the Query Expressions section for more details and examples.
JPA Doc
52

javax.persistence.criteria.CriteriaQuery

how to define queries using the criteria API in Chapter 4 of the ObjectDB/JPA manual.   AbstractQuery ... javax.persistence.criteria Interface CriteriaQuery Superinterfaces: AbstractQuerycriteria query object created as well as the argument to the multiselect