Re: R: Re: camel-sql IN query number of parameters mismatch(2.18.0)

2016-11-19 Thread imranrazakhan
Hi Julian, One observation regarding camel-sql(2.18.0) IN query , if we have one dynamic IN it works fine but if we have two dynamic IN it throws error, if i replace msisdn with static value it works fine, i tested with 2.18.0 select * from subscriber s where status NOTIN(7,8) AND s.msisdn I

Re: R: Re: camel-sql IN query number of parameters mismatch

2016-07-16 Thread juliaaano
Thanks, Claus. I was about to start on doing that now. I you haven't gone too far, I still volunteer to work on it. Cheers. -- View this message in context: http://camel.465427.n5.nabble.com/camel-sql-IN-query-number-of-parameters-mismatch-tp5785054p5785175.html Sent from the Camel - Users mail

Re: R: Re: camel-sql IN query number of parameters mismatch

2016-07-16 Thread Claus Ibsen
Hi I logged a ticket and are working on a fix https://issues.apache.org/jira/browse/CAMEL-10151 On Fri, Jul 15, 2016 at 5:45 PM, Claus Ibsen wrote: > Hi > > Yeah that is a bug in the parser when you have dynamic body and IN > together. You are welcome to log a JIRA and submit a PR with an unit >

Re: R: Re: camel-sql IN query number of parameters mismatch

2016-07-15 Thread Claus Ibsen
Hi Yeah that is a bug in the parser when you have dynamic body and IN together. You are welcome to log a JIRA and submit a PR with an unit test (create a new unit test so the existing test can be as-is) On Wed, Jul 13, 2016 at 7:11 PM, juliaaano wrote: > Yes. Unfortunately I still have the same

Re: R: Re: camel-sql IN query number of parameters mismatch

2016-07-13 Thread juliaaano
Yes. Unfortunately I still have the same problem for an endpoint such as: .toD("sql:UPDATE orders SET customer = :#Customer WHERE orderId IN (:#in:orders)") I don't see how this could have solved the problem since I have failing unit tests at the sql component level. Should I make this tests avai