[
https://issues.apache.org/jira/browse/CAY-2891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikita Timofeev closed CAY-2891.
--------------------------------
Resolution: Fixed
https://github.com/apache/cayenne/pull/634
> Expressions: incorrect SQL translation of the ASTNegate node with scalar
> argument
> ---------------------------------------------------------------------------------
>
> Key: CAY-2891
> URL: https://issues.apache.org/jira/browse/CAY-2891
> Project: Cayenne
> Issue Type: Bug
> Components: Core Library
> Affects Versions: 4.2.2, 5.0-M1
> Reporter: Nikita Timofeev
> Priority: Minor
> Fix For: 5.0-M2
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Simple expression like {{ASTNegate}} + {{ASTScalar}} translates to something
> like {{"- NULL"}} in the SQL. There's no direct way to get this combination
> via Cayenne API, only with some sort of expression generator, but still that
> looks like something we could deal with.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)