*/
BooleanExpression elementsExpr = null;
for (Iterator it = userCandidates.iterator(); it.hasNext();)
{
Object candidateValue = it.next();
ScalarExpression expr = m.newScalarExpression(stmt, stmt.getMainTableExpression());
BooleanExpression keyExpr = expr.eq(m.newLiteral(stmt, candidateValue));
if (elementsExpr == null)
{
elementsExpr = keyExpr;
}
else