code: public <T, I extends Serializable> Slice<T> findAll(final Specification<T> spec, final Pageable pageable,
              final Class<T> domainClass) {
          final SimpleJpaNoCountRepository<T, I> noCountDao = new SimpleJpaNoCountRepository<>(domainClass, em);
          return noCountDao.findAll(spec, pageable);
      }
docs: Searches without the need for an extra count query.
  
  @param spec
  to search for
  @param pageable
  information
  @param domainClass
  of the {@link Entity}
  
  @return {@link Slice} of data
  
  @see org.springframework.data.jpa.repository.JpaSpecificationExecutor#findAll(org.springframework
  .data.jpa.domain.Specification,
  org.springframework.data.domain.Pageable)