code: public static JPQLQuery<Tuple> selectDistinct(Expression<?>... exprs) {
          return new JPASubQuery<Void>().select(exprs).distinct();
      }
docs: Create a new detached JPQLQuery instance with the given projection
  
  @param exprs projection
  @return select(distinct expr)