Skip to content

N1qlQueryCreator - IN, NOT IN should not cast parameter to Object[] [DATACOUCH-603] #911

Closed
@spring-projects-issues

Description

@spring-projects-issues

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)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions