cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CAY-2575) Select translator: Wrong translation of IN Expression
Date Thu, 02 May 2019 13:43:00 GMT

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

Nikita Timofeev closed CAY-2575.
--------------------------------
    Resolution: Fixed

https://github.com/apache/cayenne/commit/90c19b0c18614346eb110265da2780caaa84dc09

> Select translator: Wrong translation of IN Expression
> -----------------------------------------------------
>
>                 Key: CAY-2575
>                 URL: https://issues.apache.org/jira/browse/CAY-2575
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>            Reporter: Nikita Timofeev
>            Assignee: Nikita Timofeev
>            Priority: Major
>             Fix For: 4.2.M1
>
>
> Expression like: {{a < 2 and b in (5,6) and b = 7}}
> Translates to: {{( ( t0.a < 2 ) AND t0.b IN ( 5, 6) ) ( t0.b = 7 )}}, note missing
*AND*.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message