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

Default iteration on QueryCache is changed to EAGER iteration

XMLWordPrintable

      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)

            sgrinove Sanne Grinovero
            sgrinove Sanne Grinovero
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: