-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
jboss-fuse-6.3
-
None
-
%
-
Combination of camel-sql component IN queries with dynamic values and Oracle jdbc driver cannot correctly resolve parameters of SQL.
Exception:
Caused by: java.sql.SQLException: Number of parameters mismatch. Expected: 1, was: 2
at org.apache.camel.component.sql.DefaultSqlPrepareStatementStrategy.populateStatement(DefaultSqlPrepareStatementStrategy.java:153)
at org.apache.camel.component.sql.SqlProducer$2.doInPreparedStatement(SqlProducer.java:137)
at org.apache.camel.component.sql.SqlProducer$2.doInPreparedStatement(SqlProducer.java:107)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:589)
... 173 more