title: com.ibm.db2.jcc.am.SqlException: [jcc][10120][11936][4.14.88] Invalid operation: Lob is closed. ERRORCODE=-4470, SQLSTATE=null
body: <p>In our application we are having a simple <em>POJO</em> class that has a <em>Clob</em> attribute within it.</p>
  
  <p>I am having issue in getting the String representation of that <em>Clob</em> entity.</p>
  
  <p>Say I have already queried and cached the result in the <em>POJO</em> object, now I am trying to get the String value of the Clob as below.</p>
  
  <pre><code>int aLength = (int)myPojo.getClobField().length();
  String aStringValue = myPojo.getClobField().getSubString(1L, aLength);
  </code></pre>
  
  <p>But the above execution gives me the error,</p>
  
  <p><em><strong>com.ibm.db2.jcc.am.SqlException: [jcc][10120][11936][4.14.88] Invalid operation: Lob is closed. ERRORCODE=-4470, SQLSTATE=null</em></strong></p>
  
  <p>Am I missing something?</p>