String[] xcols = criteriaQuery.getColumnsUsingProjection(criteria, propertyName);
String[] ycols = criteriaQuery.getColumnsUsingProjection(criteria, otherPropertyName);
String result = StringHelper.join(
" and ",
StringHelper.add(xcols, getOp(), ycols)
);
if (xcols.length>1) result = '(" + result + ')";
return result;
//TODO: get SQL rendering out of this package!