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

AND over range queries does not work (indexless query)

    XMLWordPrintable

Details

    Description

      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).

      Attachments

        Activity

          People

            anistor Adrian Nistor (Inactive)
            rvansa1@redhat.com Radim Vansa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: