出现可能的错误:
1. java.sql.SQLException: ORA-00600
2.数据库连接关闭
.....
比如使用的是Mybatis-plus ,用常规的保存时会保存失败
需要使用XML SQL插入数据即可
<insert id="entityClobSave" parameterType="com.csdn.Entity">
declare
c_clob CLOB := #{component};
b_clob CLOB := #{edit};
a_simpleId varchar2(5000) := #{simpleId};
begin
INSERT INTO component_test (id,simple_id,component,edit) VALUES (#{id},a_simpleId,c_clob,b_clob);
COMMIT;
end;
</insert>