src/main/java/org/criteria4jpa/projection/ConstructorProjection.java
public String toQueryString(Criteria criteria, CriteriaQueryBuilder queryBuilder) {

    StringBuilder builder = new StringBuilder();
    builder.append( "NEW " );
    builder.append( clazz.getName() );
    builder.append( '(' );
    builder.append( projectionList.toQueryString(criteria, queryBuilder) );
    builder.append( ')' );
    return builder.toString();
  
  }
public String toQueryString(Criteria criteria, CriteriaQueryBuilder queryBuilder) {

    StringBuilder builder = new StringBuilder();
    builder.append( "NEW " );
    builder.append( clazz.getName() );
    builder.append( '(' );
    builder.append( projectionList.toQueryString(criteria, queryBuilder) );
    builder.append( ')' );
    return builder.toString();
  
  }
/*
@see org.criteria4jpa.projection.Projection#toQueryString(org.criteria4jpa.Criteria, org.criteria4jpa.impl.CriteriaQueryBuilder)