On a second thought, it does look out of place here. I moved the logic to the StatementQuery.voltGetXMLSpecification method (resolveUsingColumns). So far it only supports two tables outer join.