解决方式:
1、jdbc URL链接为:jdbc.url=jdbc:db2://(ip):50000/(数据库名称):driverType=4;fullyMaterializeLobData=true;fullyMaterializeInputStreams=true;progressiveStreaming=2;progresssiveLocators=2;
2、db2命令窗口中使用命令:$ db2set DB2_RESTRICT_DDF=true,设置完后,重启数据库即可。