Guest User

Untitled

a guest
Jul 16th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. Clob clobVar = null;
  2. if (result.elementAt(3) != null)
  3. clobVar = (Clob) result.elementAt(3);
  4.  
  5. if (clobVar == null) {
  6. infoTable.put("EInfo", "");
  7. } else {
  8. stringTemp = clobVar.getSubString(1, (int) clobVar.length());
  9. infoTable.put("EInfo", stringTemp);
  10. }
  11.  
  12. clobVar = (Clob) result.elementAt(3);
  13.  
  14. stringTemp = clobVar.getSubString(1, (int) clobVar.length());
  15.  
  16. jdbc:db2://localhost:50000/SAMPLE:progressiveStreaming=2;
  17.  
  18. jdbc:db2://localhost:50000/SAMPLE:driverType=4;fullyMaterializeLobData=true;fullyMaterializeInputStreams=true;progressiveStreaming=2;progresssiveLocators=2;
  19.  
  20. If everything has worked earlier with same code...but the issue came up after db2 db change, then try below configuration..
  21. <Code>
  22. db2set DB2_RESTRICT_DDF=TRUE
  23. </Code>
  24. It worked for me..
Add Comment
Please, Sign In to add comment