code: protected void addLikeIgnoresCaseCondition(final String propertyName, final String value) {
          final Expression<String> propertyNameField = getCriteriaBuilder().lower(getRootPath().get(propertyName).as(String.class));
          fieldConditions.add(getCriteriaBuilder().like(propertyNameField, "%" + cleanLikeCondition(value).toLowerCase() + "%"));
      }
docs: Add a Field Search Condition that will search a field for a specified value using the following SQL logic:
  {@code LOWER(field) LIKE LOWER('%value%')}
  
  @param propertyName The name of the field as defined in the Entity mapping class.
  @param value        The value to search against.