ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Henrique Ferreira e Silva <dhsi...@gmail.com>
Subject Re: Problem with BLOB
Date Mon, 19 Sep 2005 12:41:47 GMT

Are you using a custom type handler?
How are your config map files?

Daniel Silva.

On 9/19/05, Sanjay Goel <sanjay.goel@gmail.com> wrote:
> Hi,
>  I am trying a save a String in an oracle BLOB object (I know String can be
> mapped to CLOB, but lets say I can't use CLOB) ...
>  I have a VO with a field as byte [] which is mapped to the BLOB. I do a
> String.getBytes() to get the byte array and save it in BLOB and retrieve it
> using new String(byte []) ...
>  the problem is, the string returned is garbage. Anyone has an idea why this
> happens ?
>  Regards,
>  Sanjay

View raw message