You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "João Antonio da Cruz Júnior (JIRA)" <ji...@apache.org> on 2015/08/10 14:01:46 UTC

[jira] [Comment Edited] (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=14680001#comment-14680001 ] 

João Antonio da Cruz Júnior edited comment on CAMEL-9063 at 8/10/15 12:01 PM:
------------------------------------------------------------------------------

I made it that way to preserve backward compatibilities, but using getBytes by default will increase performance because we would need only change the interface method implementation.


was (Author: joaoacj):
I made it that way to preserve backward compatibilities, but using getBytes by default will increase performance because we would only change the interface method implementation.

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