Assume the contacts are already read. Using query expression language with SHOULD_TRIGGER_INDIRECTION and conformResultsInUnitOfWork to query all employees visited customer CompA for 5 days, both employees Bob and Paul are in the resultset. That is wrong, only Bob ist right resultset.
My expression is:
ExpressionBuilder ebEmp = new ExpressionBuilder();
To my mind the evaluation of the expression during conformResultsInUnitOfWork either does wrong or the expression is incorrect constructed.
In LogicalExpression.doesConform (the .and()) the expression is split into two parts: 1) exprAnyOf.get("customer").equal(compA) && 2) exprAnyOf.get("daysVisted").equal(5). If the expression is ok, both parts may not be evaluated independently.
If the expression is wrong, I have to create one like