Iterator i = mapping.getConfig().getTable().iterator();
while (i.hasNext()) {
Table t = (Table) i.next();
Iterator columns = t.getColumn().iterator();
while ( columns.hasNext()) {
Column c = (Column) columns.next();
if ( c.isPrimaryKey() && c.isGenerated()) {
DebugUtil.debugln(getClass(), debug, "adding generated key "
+ t.getName() + "."
+ c.getName());
generatedKeys.put(t.getName(), c.getName());
}
}
}
}