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/07/29 12:19:48 UTC
[jira] [Updated] (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 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