directly into a
string?
Zsolt
-Original Message-
From: Gustavo Henrique Sberze Ribas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 14, 2006 12:11 PM
To: user-java@ibatis.apache.org
Subject: RE: How to convert BLOB to String.
Hello,
iBATIS can fetch the BLOB as a stream of bytes. One
Thank you Gustavo.
Is it possible to configure ibatis to put the BLOB directly into a string?
Zsolt
>-Original Message-
>From: Gustavo Henrique Sberze Ribas [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, March 14, 2006 12:11 PM
>To: user-java@ibatis.apache.org
>Subject: RE:
Hello,
iBATIS can fetch the BLOB as a stream of bytes. One way of doing what you
want is to create get/setters using byte[] that store/read to/from a private
String field, ie:
public class MyBean implements Serializable{
private String myString;
public void setStringAsByteArray(byte[] b)