camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From imranrazakhan <>
Subject Re: camel-sql - SQL IN Query issue (2.17.1)
Date Tue, 31 May 2016 16:02:53 GMT
Hi Yogesh,

it look like there is issue in Using IN queries with dynamic values, as its
working for 1 value but not for multiple values, if here is issue in
datasource parameter then it should not work for 1 value too.

As mentioned earlier is expecting 1 value, below error clearly indicating

PreparedStatementCallback; uncategorized SQLException for SQL []; SQL state
[null]; error code [0]; 
Number of parameters mismatch. Expected: 1, was: 5; nested exception is
java.sql.SQLException: Number of parameters mismatch. Expected: 1, was: 5


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message