oracle 字段类型为clob时insert,update语句

[size=medium]INSERT INTO documents(id, [color=red]contents[/color]) VALUES(#id# ,[color=red]#contents, handler = ClobStringTypeHandler# [/color] )

update documents set
title =#title#,
[color=red]contents=#contents,handler=ClobStringTypeHandler#,[/color]
where id = #id#

[b]表如下[/b]:[/size]
[img]http://dl.iteye.com/upload/attachment/0079/3114/7552dd35-9d60-38ee-b3ae-852a1d53d952.jpg[/img]

你可能感兴趣的:(数据库)