ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zsolt" <zkoppanyl...@intland.com>
Subject How to convert BLOB to String.
Date Tue, 14 Mar 2006 07:54:33 GMT
Hi,

I have a BLOB field in mysql-4.1.18 and want to get that as String. The
property I use as follows:

	setArgument(String arg) {...}

In the mapping file I tried to use the code below but that didn't help.
  <result property="argument" column="argument_types" jdbcType="BLOB" 
    javaType="java.lang.String"/>

Instead of the string I get something like below:
[B@185982c

How can I fix that?

I use ibatis-2.1.7.597.

zsolt




Mime
View raw message