title: Clob as param for PL/SQL Java Stored Procedure
body: <p>I have a java stored procedure that takes in a clob representing a chunk of javascript and mins it.  The structure of the function calling the JSP is as follows:</p>
  
  <pre><code>function MIN_JS(pcl_js in clob) return clob as
    language java name 'JSMin.min(oracle.sql.CLOB) return oracle.sql.CLOB';
  </code></pre>
  
  <p>In the actual JSP, I have the following:</p>
  
  <pre><code>import oracle.sql.CLOB;
  
  public class JSMin {
  ...
  public static min(CLOB js) {
  ...
  }
  </code></pre>
  
  <p>The problem I'm having is that whenever I pass a clob to JS_MIN, it is always interpreted as null inside the JSP.  I've checked the clob before calling JS_MIN annd it definitely has contents.  Any ideas as to what I'm missing?  Any help is greatly appreciated.</p>