public final class QueryHelper extends Object
Constructor and Description |
---|
QueryHelper() |
Modifier and Type | Method and Description |
---|---|
static <T> javax.persistence.criteria.Predicate |
equalsIgnoreCaseIfStringPredicate(javax.persistence.criteria.CriteriaBuilder criteriaBuilder,
javax.persistence.criteria.Root<T> root,
Object value,
javax.persistence.metamodel.SingularAttribute<T,? extends Object> property)
Equals ignore case if string predicate.
|
public static <T> javax.persistence.criteria.Predicate equalsIgnoreCaseIfStringPredicate(javax.persistence.criteria.CriteriaBuilder criteriaBuilder, javax.persistence.criteria.Root<T> root, Object value, javax.persistence.metamodel.SingularAttribute<T,? extends Object> property)
T
- the generic typecriteriaBuilder
- the criteria builderroot
- the rootvalue
- the valueproperty
- the propertyCopyright © 2010–2017 www.hack23.com. All rights reserved.