<bdo id='IXCZn'></bdo><ul id='IXCZn'></ul>

  • <legend id='IXCZn'><style id='IXCZn'><dir id='IXCZn'><q id='IXCZn'></q></dir></style></legend>

        <i id='IXCZn'><tr id='IXCZn'><dt id='IXCZn'><q id='IXCZn'><span id='IXCZn'><b id='IXCZn'><form id='IXCZn'><ins id='IXCZn'></ins><ul id='IXCZn'></ul><sub id='IXCZn'></sub></form><legend id='IXCZn'></legend><bdo id='IXCZn'><pre id='IXCZn'><center id='IXCZn'></center></pre></bdo></b><th id='IXCZn'></th></span></q></dt></tr></i><div id='IXCZn'><tfoot id='IXCZn'></tfoot><dl id='IXCZn'><fieldset id='IXCZn'></fieldset></dl></div>
      1. <small id='IXCZn'></small><noframes id='IXCZn'>

        <tfoot id='IXCZn'></tfoot>

        Lob 已关闭.错误代码=-4470,SQLSTATE=null

        时间:2023-09-30

          <tbody id='Ts8dQ'></tbody>

            1. <legend id='Ts8dQ'><style id='Ts8dQ'><dir id='Ts8dQ'><q id='Ts8dQ'></q></dir></style></legend>

              <small id='Ts8dQ'></small><noframes id='Ts8dQ'>

              <i id='Ts8dQ'><tr id='Ts8dQ'><dt id='Ts8dQ'><q id='Ts8dQ'><span id='Ts8dQ'><b id='Ts8dQ'><form id='Ts8dQ'><ins id='Ts8dQ'></ins><ul id='Ts8dQ'></ul><sub id='Ts8dQ'></sub></form><legend id='Ts8dQ'></legend><bdo id='Ts8dQ'><pre id='Ts8dQ'><center id='Ts8dQ'></center></pre></bdo></b><th id='Ts8dQ'></th></span></q></dt></tr></i><div id='Ts8dQ'><tfoot id='Ts8dQ'></tfoot><dl id='Ts8dQ'><fieldset id='Ts8dQ'></fieldset></dl></div>

            2. <tfoot id='Ts8dQ'></tfoot>

                  <bdo id='Ts8dQ'></bdo><ul id='Ts8dQ'></ul>
                  本文介绍了Lob 已关闭.错误代码=-4470,SQLSTATE=null的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我正在使用 IBM websphere commerce 和 db2,有以下代码

                  I am using IBM websphere commerce and db2, have following piece of code

                  Clob clobVar = null;
                  if (result.elementAt(3) != null)
                      clobVar = (Clob) result.elementAt(3);
                  
                  if (clobVar == null) {
                      infoTable.put("EInfo", "");
                  } else {
                      stringTemp = clobVar.getSubString(1, (int) clobVar.length());
                      infoTable.put("EInfo", stringTemp); 
                  }
                  

                  代码运行良好,直到

                  clobVar = (Clob) result.elementAt(3);
                  

                  但是一旦执行到

                  stringTemp = clobVar.getSubString(1, (int) clobVar.length());
                  

                  系统抛出异常

                  [jcc][10120][11936][4.3.111] 无效操作:Lob 已关闭.ERRORCODE=-4470,SQLSTATE=null

                  我做错了什么?

                  如何解决这个问题?

                  推荐答案

                  这个问题可以通过在连接url中添加progressiveStreaming=2;参数来解决

                  This issue can be solved by adding progressiveStreaming=2; argument to the connection url

                  完整指定的连接 URL 如下所示:

                  The fully specified Connection URL was to be given as below:

                  jdbc:db2://localhost:50000/SAMPLE:progressiveStreaming=2;
                  

                  如果您对该参数有异常,请在其中添加以下内容:

                  Incase you have exception on that parameter add the following to it:

                  jdbc:db2://localhost:50000/SAMPLE:driverType=4;fullyMaterializeLobData=true;fullyMaterializeInputStreams=true;progressiveStreaming=2;progresssiveLocators=2;
                  

                  首选db2jcc4.jar

                  这篇关于Lob 已关闭.错误代码=-4470,SQLSTATE=null的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:在eclipse中通过jdbc连接DB2数据库 下一篇:db2jcc4.jar 无效参数:未知列名

                  相关文章

                  最新文章

                  <i id='c2DCh'><tr id='c2DCh'><dt id='c2DCh'><q id='c2DCh'><span id='c2DCh'><b id='c2DCh'><form id='c2DCh'><ins id='c2DCh'></ins><ul id='c2DCh'></ul><sub id='c2DCh'></sub></form><legend id='c2DCh'></legend><bdo id='c2DCh'><pre id='c2DCh'><center id='c2DCh'></center></pre></bdo></b><th id='c2DCh'></th></span></q></dt></tr></i><div id='c2DCh'><tfoot id='c2DCh'></tfoot><dl id='c2DCh'><fieldset id='c2DCh'></fieldset></dl></div>

                      <small id='c2DCh'></small><noframes id='c2DCh'>

                      <tfoot id='c2DCh'></tfoot>
                    1. <legend id='c2DCh'><style id='c2DCh'><dir id='c2DCh'><q id='c2DCh'></q></dir></style></legend>
                      • <bdo id='c2DCh'></bdo><ul id='c2DCh'></ul>