[ 
https://issues.apache.org/jira/browse/OLINGO-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14274567#comment-14274567
 ] 

Luke Adams commented on OLINGO-479:
-----------------------------------

I mentioned this in OLINGO-410 but never got around to opening a new ticket for 
it.

I observed this in ODataRequestImpl on line 179.  The incoming Map was ordered 
correctly and the converted HashMap was not.  I was getting mixed results in my 
testing and have stepped away from the project that I ran across this in.  I 
apologize for the lack of additional details here.

I do plan to revisit the offending project soon and can work to produce a test 
case.

Thanks,
Luke

> Function import bind variables  swapping
> ----------------------------------------
>
>                 Key: OLINGO-479
>                 URL: https://issues.apache.org/jira/browse/OLINGO-479
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-core, odata2-jpa
>    Affects Versions: V2 2.0.0
>            Reporter: dhaval gupta
>            Assignee: Michael Bolz
>
> 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)

Reply via email to