code: public static Specification<JpaDistributionSet> likeNameAndVersion(final String name, final String version) {
          return (targetRoot, query, cb) -> cb.and(
                  cb.like(cb.lower(targetRoot.<String> get(JpaDistributionSet_.name)), name.toLowerCase()),
                  cb.like(cb.lower(targetRoot.<String> get(JpaDistributionSet_.version)), version.toLowerCase()));
      }
docs: {@link Specification} for retrieving {@link DistributionSet}s by "like
  name and like version".
  
  @param name
  to be filtered on
  @param version
  to be filtered on
  @return the {@link DistributionSet} {@link Specification}