Uploaded image for project: 'Spring Data Couchbase'
  1. Spring Data Couchbase
  2. DATACOUCH-603

N1qlQueryCreator - IN, NOT IN should not cast parameter to Object[]

    XMLWordPrintable

    Details

      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());

        Attachments

          Activity

            People

            Assignee:
            mikereiche Michael Reiche
            Reporter:
            mikereiche Michael Reiche
            Last updater:
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: