{
resultTypes[i] = resultExprs[i].getMapping().getJavaType();
}
}
}
resultMetaData = new JPOXResultSetMetaData(resultTypes);
}
else
{
// Result must be candidate class
resultMetaData = new JPOXResultSetMetaData(new Class[] {candidateClass} );
if (distinct)
{
qs.setDistinctResults(distinct);
}
}