dont use params for IN with more than 10 parameters
ConstantCriteria object for values that shouldn't be converted to parameters in generated SQL