how to deal with Oracle Blob,Clob field, is there a demo?

127 views
Skip to first unread message

sun

unread,
Aug 11, 2011, 5:20:50 AM8/11/11
to mybatisnet-user
I want use MyBatisNet to operation with Oracle 11g, but the BLOB/Clob
field I don't hnow to write SQLmap.config ?

thanks

Juan Pablo Araya

unread,
Aug 11, 2011, 2:58:09 PM8/11/11
to mybatis...@googlegroups.com
You can map it as an array of byte.

2011/8/11 sun <szh...@gmail.com>:


> I want use MyBatisNet to operation with Oracle 11g, but the BLOB/Clob
> field I don't hnow to write SQLmap.config ?
>
> thanks

--
Juan Pablo Araya
787 76 034

sun

unread,
Aug 19, 2011, 3:48:47 AM8/19/11
to mybatisnet-user
I tried, it works! Thanks!

If I want use datatype as "OracleClob", with the method as "read(...)
or write(..)", then I must use ODP directly?

On 8月12日, 上午2时58分, Juan Pablo Araya <juanpablo.ar...@gmail.com> wrote:
> You can map it as an array of byte.
>
> 2011/8/11 sun <szha...@gmail.com>:

namo

unread,
Aug 10, 2012, 1:15:40 AM8/10/12
to mybatis...@googlegroups.com
Hi sun
i want to use mybatis.net with oracle.
but i don't know hot to deal with clob, blob (insert or select).
if you know how to solve this problem, let me know (like demo).

best regard,
Namho


2011년 8월 19일 금요일 오후 4시 48분 47초 UTC+9, sun 님의 말:
Reply all
Reply to author
Forward
0 new messages