Correction: DynamicView et groupBy le count n'est pas bon avec un selectFields
// ========= = DECATHLON specific = ========== //Add selectFields to group by clause else count will be != from selectListIteratorByCondition with the same parameters /* modelViewEntity.colNameString(modelViewEntity.getGroupBysCopy(), sqlBuffer, " GROUP BY ", ", ", "", false); */ modelViewEntity.colNameString(modelViewEntity.getGroupBysCopy(selectFields), sqlBuffer, " GROUP BY ", ", ", "", false); // ========= = DECATHLON specific = ==========