You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (Jira)" <ji...@apache.org> on 2025/06/04 12:31:00 UTC
[jira] [Updated] (CAY-2891) Expressions: incorrect SQL translation of the ASTNegate node with scalar argument
[ https://issues.apache.org/jira/browse/CAY-2891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikita Timofeev updated CAY-2891:
---------------------------------
Description: 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. (was: 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.)
> 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: 4.2.3, 5.0-M2
>
>
> 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)