About like

1-10 of 200Refresh
JPA Doc
65

like(x, pattern)

Method javax.persistence.criteria.CriteriaBuilder Predicate like(   Expression x,   String pattern ) Create a predicate for testing whether the expression satisfies the given pattern. Parameters: x - string expression pattern - string Returns: like predicate Since: JPA 2.0
JPA Doc
65

like(x, pattern)

Method javax.persistence.criteria.CriteriaBuilder Predicate like(   Expression x,   Expression pattern ) Create a predicate for testing whether the expression satisfies the given pattern. Parameters: x - string expression pattern - string expression Returns: like predicate Since: JPA 2.0
JPA Doc
65

like(x, pattern, escapeChar)

Method javax.persistence.criteria.CriteriaBuilder Predicate like(   Expression x,   String pattern,   Expression escapeChar ) Create a predicate for testing whether the expression satisfies the given pattern. Parameters: x - string expression pattern - string escapeChar - escape character expression Returns: like predicate Since: JPA 2.0
JPA Doc
65

like(x, pattern, escapeChar)

Method javax.persistence.criteria.CriteriaBuilder Predicate like(   Expression x,   Expression pattern,   char escapeChar ) Create a predicate for testing whether the expression satisfies the given pattern. Parameters: x - string expression pattern - string expression escapeChar - escape character Returns: like predicate Since: JPA 2.0
JPA Doc
65

like(x, pattern, escapeChar)

Method javax.persistence.criteria.CriteriaBuilder Predicate like(   Expression x,   String pattern,   char escapeChar ) Create a predicate for testing whether the expression satisfies the given pattern. Parameters: x - string expression pattern - string escapeChar - escape character Returns: like predicate Since: JPA 2.0
JPA Doc
65

like(x, pattern, escapeChar)

Method javax.persistence.criteria.CriteriaBuilder Predicate like(   Expression x,   Expression pattern,   char escapeChar ) Create a predicate for testing whether the expression satisfies the given pattern. Parameters: x - string expression pattern - string expression escapeChar - escape character Returns: like predicate Since: JPA 2.0
JPA Doc
65

like(x, pattern, escapeChar)

Method javax.persistence.criteria.CriteriaBuilder Predicate like(   Expression x,   String pattern,   Expression escapeChar ) Create a predicate for testing whether the expression ... character expression Returns: like predicate Since: JPA 2.0
JPA Doc
65

like(x, pattern, escapeChar)

Method javax.persistence.criteria.CriteriaBuilder Predicate like(   Expression x,   Expression pattern,   Expression escapeChar ) Create a predicate for testing ... expression escapeChar - escape character expression Returns: like predicate Since: JPA 2.0
Forum
22

Help with 'not like/lower' query

Criteria with a combination of LOWER/UPPER - NOT LIKE: SELECT COUNT($1.id) FROM User $1 WHERE ($1.owningCompany=:p1) AND LOWER($1.email) NOT LIKE :p2 So in essence, I'm trying to do a count ... (Operator.LIKE)){ predicate = criteriaBuilder.like(criteriaBuilder.lower(path), stringProp
Forum
22

like operator (String)

i from User i where i.status = :status and (UPPER(i.email) like :value) Now we assume ... the example user. The like statment operates like "test%"  EclispeLink/OpenJPA/HibernateJPA handles the like stament like an exact search '='. This JPA impls returns an empty list. This behaviour isn't