You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2014/03/01 09:35:20 UTC

[jira] [Closed] (CAY-1877) In-memory evaluation of expression may fail with UnsupportedOpeartionException depending on order of nodes

     [ https://issues.apache.org/jira/browse/CAY-1877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik closed CAY-1877.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 3.2.M2

> 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.2.M2
>            Reporter: Dzmitry Kazimirchyk
>             Fix For: 3.2.M2
>
>
> 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.5#6160)