About CriteriaBuilder

api-jpa

lt(x, y)

Create a predicate for testing whether the first argument is less than the second.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

sum(x, y)

Create an expression that returns the sum of its arguments.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

mod(x, y)

Create an expression that returns the modulus of its arguments.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

quot(x, y)

Create an expression that returns the quotient of its arguments.(Method of javax.persistence.criteria.CriteriaBuilder)

 
forum_thread

CriteriaQuery .where() for multiple conditions

When using the below, there appears to be an OR condition:   ...   criteriaQuery. where ( criteriaBuilder. equal ( root. get ( "name" ) , ... ) ) ; criteriaQuery. where ( criteriaBuilder. equal ( root. get ( "surname" ) , ...

 
api-jpa

like(x, pattern)

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

 
api-jpa

substring(x, from)

Create an expression for substring extraction.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

locate(x, pattern, from)

Create expression to locate the position of one string within another, returning position of first character if found.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

greaterThanOrEqualTo(x, y)

Create a predicate for testing whether the first argument is greater than or equal to the second.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

isNotMember(elem, collection)

Create a predicate that tests whether an element is not a member of a collection.(Method of javax.persistence.criteria.CriteriaBuilder)