DatabaseColumn childField = child.findColumn(join.getChildField());
if (parentField != null && childField != null) {
TableRelationship tr = new TableRelationship(parent, child);
tr.setRelationshipNature(join.getCardinality());
FieldRelationship fr = new FieldRelationship(parentField, childField);
copiedJoins.add(new Relation(tr, fr));
}
}
}
DbTranRelations copy = new DbTranRelations();
for (Relation r : copiedJoins) {