if (filters != null) {
filtersAndKeys.addAll(filters);
}
int ix = 0;
for (String colName : primaryKeyColumns) {
filtersAndKeys.add(new Equal(colName, keys[ix]));
ix++;
}
StatementHelper sh = sqlGenerator.generateSelectQuery(
getFullTableName(), filtersAndKeys, orderBys, 0, 0, "*");