camel-issues mailing list archives

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

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

Shaun Elliott updated CAMEL-5551:
---------------------------------

    Attachment: CAMEL-5551-patch.txt
    
> String types not converted from CLOB
> ------------------------------------
>
>                 Key: CAMEL-5551
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5551
>             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)
columns.
> 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: http://www.atlassian.com/software/jira

Mime
View raw message