Expression qual = ExpressionFactory.matchAllExp(map,
Expression.AND);
This line should look like:
Expression qual = ExpressionFactory.matchAllExp(map,
Expression.EQUAL_TO);
I.e. the last parameter refers to the operation inside each key/value
pair.
Andrus
On Jul 25, 2006, at 1:36 AM, Marcel wrote:
Andrus,
Sorry, it came out unclearly in the email. The exception, an
ExpressionException, doesn't have a stack trace.
Here is a standalone snippet that will create the problem:
private void matchAllTest() {
HashMap map = new HashMap();
map.put("test", "test");
Expression qual = ExpressionFactory.matchAllExp(map,
Expression.AND);
}