About Criteria API

21-30 of 200Refresh
JPA Doc
55

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
55

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
53

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
53

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
52

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
52

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
50

Literals in JPQL and Criteria Queries

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

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
41

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
JPA Doc
39

JPA Queries

. "SELECT c FROM Country"). Criteria Query API Building dynamic queries with structure that is known ... concatenating JPQL strings into a valid complete JPQL query. JPA 2 introduced the JPA Criteria Query API, as ... instance. Building a dynamic query using the criteria API is managed by the CriteriaQuery interface