src/main/java/org/criteria4jpa/projection/DistinctProjection.java
public String toQueryString(Criteria criteria, CriteriaQueryBuilder queryBuilder) {
    return new StringBuilder()
      .append("DISTINCT ")
      .append( projection.toQueryString(criteria, queryBuilder) )
      .toString();
  }
public String toQueryString(Criteria criteria, CriteriaQueryBuilder queryBuilder) {
    return new StringBuilder()
      .append("DISTINCT ")
      .append( projection.toQueryString(criteria, queryBuilder) )
      .toString();
  }
/*
@see org.criteria4jpa.projection.Projection#toQueryString(org.criteria4jpa.Criteria, org.criteria4jpa.impl.CriteriaQueryBuilder)