cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAY-1856) Expression.expWithParameters does not work when parameters are placed in the inline collection
Date Mon, 29 Jul 2013 10:19:48 GMT

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

Andrus Adamchik updated CAY-1856:
---------------------------------

    Fix Version/s: 3.1B3
       Issue Type: Bug  (was: Improvement)

Re-categorizing: I guess this is a bug that needs to be fixed in 3.1 and 3.2. 
                
> 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.1B3, 3.2M2
>
>
> 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

Mime
View raw message