Details
-
Type:
New Feature
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.1 GA (2020.0.0), 4.0.5 (Neumann SR5)
-
Component/s: None
-
Labels:None
-
Pull Request URL:
Description
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());