You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "dhaval gupta (JIRA)" <ji...@apache.org> on 2014/11/05 04:36:33 UTC
[jira] [Created] (OLINGO-479) Function import bind variables
variables swapping
dhaval gupta created OLINGO-479:
-----------------------------------
Summary: Function import bind variables variables swapping
Key: OLINGO-479
URL: https://issues.apache.org/jira/browse/OLINGO-479
Project: Olingo
Issue Type: Bug
Components: odata2-core, odata2-jpa
Reporter: dhaval gupta
Hi,
When we pass 2 parameters to function import , the values of the bind variables are swapped at runtime at the time of query generation.
For ex :
/Issues?AssetCode='FI'&TradeCntry='AU', then the query generated is
select e from Issue e where e.assetCode ? and e.tradeCntry= ?
bind values ['AU,'FI'] whereas it should have been reverse , it should be bind values ['FI','AU'].
Thanks
Dhaval
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)