cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CAY-1877) In-memory evaluation of expression may fail with UnsupportedOpeartionException depending on order of nodes
Date Sat, 01 Mar 2014 08:35:20 GMT

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

Mime
View raw message