List<String> pids = filter.getPidFilter(); String cmp; if (filter.arePidsNegative()) { cmp = " != "; } else {
Disjunction disj = Restrictions.disjunction(); for (String pid: pids) { if( !filter.arePidsNegative() ) { disj.add(Restrictions.eq("processId", pid)); } else {