ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Selke" <tony.se...@gmail.com>
Subject RE: Oracle CLOB and IBatis
Date Wed, 27 Jun 2007 15:31:39 GMT
So the BLOBs work with this format.  I need to try this same thing again
with CLOBs.  The CLOBs are character data, not binary data, and should come
back as a string instead of a byte-array (according to the documentation),
but maybe I should try this again with your way below.  I think I was using
"CLOB" (all upper case).  You are using "Blob" (Pascal-case) and maybe if I
use "Clob" it will work.


-----Original Message-----
From: Tony Wang [mailto:twang@quatrogroup.com] 
Sent: Wednesday, June 27, 2007 9:52 AM
To: user-cs@ibatis.apache.org; tony@selkefamily.com
Subject: RE: Oracle CLOB and IBatis

I have this map with a CLOB field in Oracle 9i/10g database. It never gives
me any trouble at all (C#NET iBatis.NET). 
Type of the property DocData is byte[].
    <resultMap id="DocumentDataResult" class="DocumentDataValue">
      <result property="DocId"		column="DOCID"
      <result property="DocData"		column="DOCDATA"
      <result property="RevisionDate"		column="REVDATETIME"


-----Original Message-----
From: Tony Selke [mailto:tony.selke@gmail.com] 
Sent: June-26-07 9:27 PM
To: user-cs@ibatis.apache.org
Subject: RE: Oracle CLOB and IBatis

I posted this same question 1-2 weeks ago with no response yet.  The
iBATIS.NET documentation claims support for CLOBs, but I could not get them
to work.  We temporarily changed them to VARCHAR(4000), but I need to
revisit this soon.


-----Original Message-----
From: Sheldon A. Brown [mailto:sheldonb@gmail.com] 
Sent: Tuesday, June 26, 2007 8:25 PM
To: user-cs@ibatis.apache.org
Subject: Oracle CLOB and IBatis

Has anyone been able to hook up IBatis 1.6.1 with an Oracle Database
and transfer large CLOBs (greater than 4000 characters)?

If so, could you please steer me in the right direction.

I quickly tried to implement a CustomTypeHandler but was greeted by
the infamous ORA-01460: unimplemented or unreasonable conversion

It seems like someone else must have done this by now.  I see that
Java IBatis now officially supports BLOBs and CLOBs as well.  Is this
planned for IBatis .Net?


View raw message