oracle10g数据库,hibernate写入clob字段时,数据量小时,可以正常写入,数据量大时,报如下错误

hibernate的xml配置batch_size配为0了,对象的hibernate的属性里也加过length="100000"了,都没效果
2011-12-08 15:48:37,390  WARN (JDBCExceptionReporter.java:71) - SQL Error: 17090, SQLState: null
2011-12-08 15:48:37,390 ERROR (JDBCExceptionReporter.java:72) - 不允许的操作: streams type cannot be used in batching
2011-12-08 15:48:37,406 ERROR (AbstractFlushingEventListener.java:299) - Could not synchronize database state with session

猜你喜欢

转载自hxl860217.iteye.com/blog/1298302
今日推荐