java.lang.Object
com.hack23.cia.service.data.impl.QueryHelper

public final class QueryHelper extends Object
The Class QueryHelper.
  • 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 builder
      path - the path
      value - the value
      property - the property
      Returns:
      the predicate