V9.1升级到V9.5(或以上), 操作lob数据报错

错误信息:

com.ibm.db2.jcc.am.SqlException:Invalid operation: Lob is closed.
ERRORCODE=-4470, SQLSTATE=null
error access lob;



解决:


1) 设置DB2_RESTRICT_DDF

db2set DB2_RESTRICT_DDF=TRUE
db2stop
db2start



2) Disable progressive streaming DDF for the JDBC driver

For applications that use the Universal JDBC driver by setting the progressiveStreaming property value to 2.

Simply set the DataSource Connection URL property progressiveStreaming=2.

你可能感兴趣的:(升级,lob,close,is,V9.1)