.getTableFilter(ref.getTable());
TableFilter refTableFilter = session.createTableFilter(ref
.getRefTable());
Comparison joinCond = new Comparison(session, Operator.EQUAL,
new ExpressionColumn(session, null, tableFilter.getAlias(), ref
.getColumns()[0].getName()), new ExpressionColumn(
session, null, refTableFilter.getAlias(), ref
.getRefColumns()[0].getName()));
tableFilter.addJoin(refTableFilter, false, joinCond);