You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Dzmitry Kazimirchyk (JIRA)" <ji...@apache.org> on 2013/10/18 13:22:41 UTC
[jira] [Created] (CAY-1877) In-memory evaluation of expression may
fail with UnsupportedOpeartionException depending on order of nodes
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)