You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2013/08/03 18:41:48 UTC

[jira] [Closed] (CAY-1856) Expression.expWithParameters does not work when parameters are placed in the inline collection

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

Andrus Adamchik closed CAY-1856.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.3
    
> Expression.expWithParameters does not work when parameters are placed in the inline collection
> ----------------------------------------------------------------------------------------------
>
>                 Key: CAY-1856
>                 URL: https://issues.apache.org/jira/browse/CAY-1856
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 3.0.3, 3.1B3, 3.2M2
>
>         Attachments: 0001-CAY-1856-Expression.expWithParameters-does-not-work-.patch
>
>
> Per http://cayenne.apache.org/docs/3.1/cayenne-guide/expressions-bnf.html "IN" expression supports binding to both a list parameter and an explicit list of scalars (each scalar can be a parameter) :
> "in" ( namedParameter | "(" scalarCommaList ")" ) 
> I.e. both these forms are valid:
> "a in $list"
> "a in ($v1, $v2, $v3, 'bla')"
> The second form doesn't work - parameters are not bound when calling 'Expression.expWithParameters'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira