You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/07/18 13:46:50 UTC
[jira] [Resolved] (CAMEL-6560) [JDBC Component] ResultMetaData as a
header value - IndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/CAMEL-6560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-6560.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.11.2
Assignee: Claus Ibsen
Thanks for the patch.
> [JDBC Component] ResultMetaData as a header value - IndexOutOfBoundsException
> -----------------------------------------------------------------------------
>
> Key: CAMEL-6560
> URL: https://issues.apache.org/jira/browse/CAMEL-6560
> Project: Camel
> Issue Type: Bug
> Components: camel-jdbc
> Affects Versions: 2.11.1
> Reporter: Radek Kraus
> Assignee: Claus Ibsen
> Fix For: 2.11.2
>
> Attachments: camel-jdbc-result-metada.patch
>
>
> The {{java.lang.IndexOutOfBoundsException: Index: 0, Size: 0}} exception is thrown, if select statement returns empty result.
> The correction is already made in version 2.12.0, see issue [CAMEL-6157|https://issues.apache.org/jira/browse/CAMEL-6157], but this 'Parametrized queries in JDBC component' issue looks as more complex.
> It will be nice to fix only this exception in version 2.11.2. I attached the extended {{JdbcRSMetaDataTest.java}} and fixed {{JdbcProducer.java}} as patch (based on tag {{camel-2.11.1}}).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira