builder.append(" AND "); // implicit AND for IN-clause values
} else {
first = false;
}
RHQLAdvancedTerm advancedTerm = null;
if (nextTerm instanceof RHQLSimpleTerm) {
RHQLSimpleTerm simpleTerm = (RHQLSimpleTerm) nextTerm;
advancedTerm = new RHQLAdvancedTerm(null, assistant.getPrimarySimpleContext(), null,
RHQLComparisonOperator.EQUALS, simpleTerm.getValue());
} else {
advancedTerm = (RHQLAdvancedTerm) nextTerm;
}