}
}
int index = 0;
for (Iterator i = dbEntitiesToResolve.iterator(); i.hasNext();) {
DbEntity entity = (DbEntity) i.next();
if (!pkDependencyGraph.containsVertex(entity)) {
indexedDbEntities.put(entity, new Integer(index++));
}
}
boolean acyclic = GraphUtils.isAcyclic(pkDependencyGraph);
if (acyclic) {