java.lang.Object
com.hack23.cia.service.data.impl.QueryHelper
The Class QueryHelper.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> javax.persistence.criteria.PredicateequalsIgnoreCaseIfStringPredicate(javax.persistence.criteria.CriteriaBuilder criteriaBuilder, javax.persistence.criteria.Path<T> path, Object value, javax.persistence.metamodel.SingularAttribute<T, ? extends Object> property) Equals ignore case if string predicate.
-
Method Details
-
equalsIgnoreCaseIfStringPredicate
public static <T> javax.persistence.criteria.Predicate equalsIgnoreCaseIfStringPredicate(javax.persistence.criteria.CriteriaBuilder criteriaBuilder, javax.persistence.criteria.Path<T> path, Object value, javax.persistence.metamodel.SingularAttribute<T, ? extends Object> property) Equals ignore case if string predicate.- Type Parameters:
T- the generic type- Parameters:
criteriaBuilder- the criteria builderpath- the pathvalue- the valueproperty- the property- Returns:
- the predicate
-