Dzmitry Kazimirchyk created CAY-1877:
----------------------------------------

             Summary: In-memory evaluation of expression may fail with 
UnsupportedOpeartionException depending on order of nodes
                 Key: CAY-1877
                 URL: https://issues.apache.org/jira/browse/CAY-1877
             Project: Cayenne
          Issue Type: Bug
          Components: Core Library
    Affects Versions: 3.2M2
            Reporter: Dzmitry Kazimirchyk


In-memory evaluation of expression fails with UnsupportedOpeartionException 
depending on order of corresponding null comparison and value comparison nodes. 
E.g.

Artist.BIRTH_DATE.gt(date).orExp(Artist.BIRTH_DATE.eq(null)))

will fail if it will encounter null among Session.startDate values, but 

Artist.BIRTH_DATE.eq(null).orExp(Artist.BIRTH_DATE.gt(date)) 

will be evaluated successfully.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to