Home » Search

About regular expression

1-10 of 200Refresh
Manual
125

Strings in JPQL and Criteria Queries

when there is a need for pattern matching using regular expressions (which are more powerful than the LIKE ... parameters - when string values are assigned as arguments. as path expressions - in navigation ... for a match (usually a path expression) and the right operand is always the pattern (usually a parameter or
Manual
89

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
81

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.
Manual
37

FROM clause (JPQL / Criteria API)

The JOIN FETCH expression is not a regular JOIN and it does not define a JOIN variable ... 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
Manual
35

Numbers in JPQL and Criteria Queries

parameters - when numeric values are assigned as arguments. as path expressions - in navigation to persistent numeric fields. as aggregate expressions - e.g. COUNT. as collection functions ... .g. LOCATE, LENGTH. as composite arithmetic expressions that use operators and functions to combine
Manual
27

Paths and Types in JPQL and Criteria API

classes) are represented in JPQL by the following types of expressions: Variables - FROM ... as arguments. Path expressions that navigate from one object to another. Instances of user defined ... . But more often they are used in JPQL path expressions that navigate to values of simple types (number, boolean
Manual
26

ORDER BY clause (JPQL / Criteria API)

Expressions The following query returns names of countries whose population size ... . Then the SELECT clause builds the results by evaluating the result expressions. Finally the results are ordered by evaluation of the the ORDER BY expressions. Only expressions that are derived
JPA Doc
25

javax.persistence.criteria.CriteriaBuilder

selections, expressions, predicates, orderings. Note that Predicate is used instead of Expression in ... . Expression abs( Expression x) Create an expression that returns the absolute value of its argument. Create an expression that returns the absolute value of its argument. Parameters: x
JPA Doc
25

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
24

Literals in JPQL and Criteria Queries

The CriteriaBuilder interface provides two factory methods for building literal expressions. Ordinary Literals The main method, literal, takes a Java object and returns a literal expression. For example: // Boolean literals: Expression t = cb.literal(true); Expression f