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

AND over range queries does not work (indexless query)

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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                anistor Nistor Adrian
                Reporter:
                rvansa Radim Vansa
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: