camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-9063) Add useGetBytesForBlob option in camel-jdbc
Date Sat, 08 Aug 2015 10:41:45 GMT

    [ 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)

Mime
View raw message