Shaun Elliott created CAMEL-5551:
------------------------------------

             Summary: 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


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

Reply via email to