About expression

api-jpa

desc(x)

Create an ordering by the descending value of the expression.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

and(x, y)

Create a conjunction of the given boolean expressions.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

coalesce(x, y)

Create an expression that returns null if all its arguments evaluate to null, and the value of the first non-null argument otherwise.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

toBigInteger(number)

Typecast.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

like(x, pattern, escapeChar)

Create a predicate for testing whether the expression satisfies the given pattern.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

in(values)

Create a predicate to test whether the expression is a member of the argument list.(Method of javax.persistence.criteria.Expression)

 
api-jpa

nullif(x, 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.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

notLike(x, pattern)

Create a predicate for testing whether the expression does not satisfy the given pattern.(Method of javax.persistence.criteria.CriteriaBuilder)

 
forum_thread

Error using query with MAX() function

I have a class that is persisting a Entity that holds remarks and a time. Then when I query for the latest remark I get a internal error when the remark is larger than 1966 chars. Here is a test class and entity that reproduces the problem on my system. ... ( "changeDate" ) ;   Expression me = cb. max ( c ) ; ...

 
api-jdo

setResultClass(cls)

Specify the type of object in which to return each element of the result of invoking execute or one of its siblings.(Method of javax.jdo.Query)