You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Roman Kalukiewicz (JIRA)" <ji...@apache.org> on 2009/01/22 16:39:59 UTC

[jira] Resolved: (CAMEL-1283) SQL component doesn't handle wrong number of parameters

     [ https://issues.apache.org/activemq/browse/CAMEL-1283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Kalukiewicz resolved CAMEL-1283.
--------------------------------------

    Resolution: Fixed

Patch commited

> 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.