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

AND over range queries does not work (indexless query)

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Check this in QueryDslConditionsTest:

         public void testAnd5() throws Exception {
            QueryFactory qf = getQueryFactory();
      
            // range queries use different code
            Query q = qf.from(getModelFactory().getUserImplClass())
                  .having("id").lt(1000)
                  .and().having("age").lt(1000)
                  .toBuilder().build();
      
            List<User> list = q.list();
            assertEquals(3, list.size());
         }
      

      The problem is that some subscription gets suspended and the second LT does not fire the second predicate update (and then neither the AND reevaluation).

              anistor Adrian Nistor (Inactive)
              rvansa1@redhat.com Radim Vansa (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: