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 2015/08/08 12:41:45 UTC
[jira] [Commented] (CAMEL-9063) Add useGetBytesForBlob option in
camel-jdbc
[ https://issues.apache.org/jira/browse/CAMEL-9063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14662907#comment-14662907 ]
Claus Ibsen commented on CAMEL-9063:
------------------------------------
I wonder if this should not always be the default to use getBytes when its a blob type. eg we may not need a new option but only the instanceof check for blob type
> Add useGetBytesForBlob option in camel-jdbc
> -------------------------------------------
>
> Key: CAMEL-9063
> URL: https://issues.apache.org/jira/browse/CAMEL-9063
> Project: Camel
> Issue Type: Improvement
> Components: camel-jdbc
> Affects Versions: 2.15.2
> Reporter: João Antonio da Cruz Júnior
> Attachments: useGetBytesForBlob.patch
>
>
> As described in Oracle documentation(avaliable at http://docs.oracle.com/cd/E18283_01/java.112/e16548/oralob.htm#CHDCDFAC ): "The getString and getNString methods cannot be used for retrieving BLOB column values". So i changed the component to accept an option to use the getBytes method instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)