String firstTableName = tableName.substring(nextToLastUnderscore + 1, lastUnderscore);
String secondTableName = tableName.substring(lastUnderscore + 1);
DBTableImpl firstTable = tables.get(firstTableName);
DBTableImpl secondTable = tables.get(secondTableName);
IDBColumn firstFkColumn;
IDBColumn secondFkColumn;
// TODO - AHK - Validate that the columns aren't null
if (firstTable.equals(secondTable)) {
firstFkColumn = table.getColumn(firstTableName + "_src_id");
secondFkColumn = table.getColumn(firstTableName + "_dest_id");
} else {