camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaun Elliott (JIRA)" <>
Subject [jira] [Updated] (CAMEL-5551) String types not converted from CLOB
Date Wed, 29 Aug 2012 18:16:08 GMT


Shaun Elliott updated CAMEL-5551:

    Attachment: CAMEL-5551-patch.txt
> String types not converted from CLOB
> ------------------------------------
>                 Key: CAMEL-5551
>                 URL:
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jdbc
>         Environment: Microsoft SQL Server, JTDS driver
>            Reporter: Shaun Elliott
>         Attachments: CAMEL-5551-patch.txt
> Not all JBDC drivers support "getObject" on the resultset the same way. In particular,
the jtds driver returns back a "ClobImpl" type Object when "getObject" is called on some text\varchar(MAX)
> The simple solution is to check the column type and if it is a Clob\Blob or other known
String type, call "getString" instead.

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:

View raw message