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 2019/05/02 13:43:00 UTC

[jira] [Closed] (CAY-2575) Select translator: Wrong translation of IN Expression

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