Closed
Description
Michael Reiche opened DATACOUCH-603 and commented
N1qlQueryCreator - IN, NOT IN should not cast parameter to Object[]
List<> and JsonArray should be acceptable as well. The code should just pass in the argument without any cast and let ParameterAccessor handle it.
case IN:
return criteria.in((Object[]) parameters.next());
case NOT_IN:
return criteria.notIn((Object[]) parameters.next());
Referenced from: pull request #263
Backported to: 4.0.5 (Neumann SR5)