else
throw new UnsupportedOperationException();
LinkColumns join = oneToMany.getLinkColumns();
AmberTable table = join.getSourceTable();
cb.append("EXISTS(SELECT ");
if (table.getIdColumns().size() > 0)
cb.append(table.getIdColumns().get(0).getName());
else
cb.append('*');
cb.append(" FROM " + table.getName() + " " + _tableName);
cb.append(" WHERE ");
String targetTable = oneToMany.getParent().getChildFromItem().getName();
cb.append(join.generateJoin(_tableName, targetTable));