错误信息:

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.