About expression

71-80 of 200Refresh
JDO Doc
11

setResultClass(cls)

consists of one expression, the result class defaults to the type of that expression. If the result consists of more than one expression, the result class defaults to Object[]. The result class ... . If there are multiple result expressions, the result class must be able to hold all elements of the result
JPA Doc
11

locate(x, pattern, from)

Method javax.persistence.criteria.CriteriaBuilder Expression locate(   Expression x,   Expression pattern,   Expression from ) Create expression to locate the position of one string ... by 1. If the string to be located is not found, 0 is returned. Parameters: x - expression
JPA Doc
11

locate(x, pattern, from)

Method javax.persistence.criteria.CriteriaBuilder Expression locate(   Expression x,   Expression pattern,   Expression from ) Create expression to locate ... - expression for string to be searched pattern - expression for string to be located from
JDO Doc
11

setFilter(filter)

specification is a String containing a Boolean expression that is to be evaluated for each ... of the Query; and for all variables there exists a value for which the filter expression evaluates to true. The user may denote uniqueness in the filter expression by explicitly declaring an expression
JPA Doc
11

substring(x, from, len)

Method javax.persistence.criteria.CriteriaBuilder Expression substring(   Expression x,   Expression from,   Expression len ) Create an expression for substring extraction. Extracts ... - string expression from - start position expression len - length expression Returns: expression corresponding to substring extraction Since: JPA 2.0
JPA Doc
11

substring(x, from, len)

Method javax.persistence.criteria.CriteriaBuilder Expression substring(   Expression x,   Expression from,   Expression len ) Create an expression for substring ... . Parameters: x - string expression from - start position expression len - length expression Returns
JPA Doc
10

coalesce()

expression. Returns: coalesce expression Since: JPA 2.0 Selection alias(String name) Assigns an alias ... a predicate to test whether the expression is not null. Create a predicate to test whether the expression is not null. Returns: predicate testing whether the expression is not null Since: JPA 2.0 Predicate
JPA Doc
10

nullif(x, y)

Method javax.persistence.criteria.CriteriaBuilder Expression nullif(   Expression x,   Expression y ) Create an expression that tests whether its argument are equal, returning null if they are and the value of the first expression if they are not. Parameters: x - expression y - expression Returns: nullif expression Since: JPA 2.0
JPA Doc
10

nullif(x, y)

Method javax.persistence.criteria.CriteriaBuilder Expression nullif(   Expression x,   Expression y ) Create an expression that tests whether its argument are equal, returning null if they are and the value of the first expression if they are not. Parameters: x - expression y - expression Returns: nullif expression Since: JPA 2.0
JPA Doc
9

coalesce(x, y)

Method javax.persistence.criteria.CriteriaBuilder Expression coalesce(   Expression x,   Expression y ) Create an expression that returns null if all its arguments evaluate to null, and the value of the first non-null argument otherwise. Parameters: x - expression y - expression Returns: coalesce expression Since: JPA 2.0