String foreignColumn = namingStrategy.normalizeColumnName(foreignKeys.getString(FK_FOREIGN_COLUMN_NAME));
if (name == null || name.isEmpty()) {
name = tableName + "_" + foreignTableName + "_IFK";
}
InverseForeignKeyData data = inverseForeignKeyData.get(name);
if (data == null) {
data = new InverseForeignKeyData(name, foreignSchemaName,
foreignTableName, createType(foreignSchemaName, foreignTableName));
inverseForeignKeyData.put(name, data);
}
data.add(parentColumnName, foreignColumn);
}
return inverseForeignKeyData;
}finally{
foreignKeys.close();
}