Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2878

Default iteration on QueryCache is changed to EAGER iteration

    XMLWordPrintable

    Details

      Description

      This is needed to fix ISPN-2874: I'm creating a separate JIRA to track the API change in changelogs.

      Example of otherwise broken code:

      Query query = queryBuilder.all().createQuery();
      CacheQuery cacheQuery = searchManager.getQuery(query, Bean.class);
      for (Object object : cacheQuery) {
         ...
      }

      (it's failing to close the iterable)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sannegrinovero Sanne Grinovero
              Reporter:
              sannegrinovero Sanne Grinovero
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: