SQL component doesn't handle wrong number of parameters
-------------------------------------------------------
Key: CAMEL-1283
URL:
https://issues.apache.org/activemq/browse/CAMEL-1283 Project: Apache Camel
Issue Type: Bug
Affects Versions: 1.5.0
Reporter: Roman Kalukiewicz
Assignee: Roman Kalukiewicz
Fix For: 2.0.0
NPE thrown when null body sent to to SQL endpoint. When to many parameters are set then exception is thrown but nothing wrong happens when to less parameters are set.
It should be possible to set null as a body as there might be parameterless statement to execute. There should be consistent Exception thrown when wrong number of parameters is set.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.