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

AND over range queries does not work (indexless query)

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)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: