return new EntityRelationshipTableIterator(super.iterator(dataSet, reversed), resolvedPks);
}
private static String[] getNeccesaryTablesAndSetResolution(IDatabaseConnection connection,
DependencyInclusionResolver inclusionResolver, Map<Class<?>, Set<ColumnValues>> primaryPks) throws SQLException {
ColumnValuesTableMap resolution = resolve(connection, inclusionResolver, primaryPks);
RESOLUTION_IN_CONSTRUCTOR.set(resolution);
Set<String> tables = new HashSet<String>();
for (String t : resolution.keySet()) {
tables.add(t.toLowerCase());
}
return tables.toArray(new String[tables.size()]);
}