[infinispan-issues] [JBoss JIRA] (ISPN-4654) AND over range queries does not work (indexless query)

Radim Vansa (JIRA) issues at jboss.org
Wed Aug 20 10:59:29 EDT 2014


Radim Vansa created ISPN-4654:
---------------------------------

             Summary: AND over range queries does not work (indexless query)
                 Key: ISPN-4654
                 URL: https://issues.jboss.org/browse/ISPN-4654
             Project: Infinispan
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Embedded Querying, Remote Querying
    Affects Versions: 7.0.0.Beta1, 6.0.2.Final
            Reporter: Radim Vansa
            Assignee: Adrian Nistor


Check this in QueryDslConditionsTest:
{code}
   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());
   }
{code}

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



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the infinispan-issues mailing list