title: How to call a plsql procedure with a table type as input parameter in Java?
body: <p>I have a procedure like</p>
  
  <pre><code>  PROCEDURE merge_string_custom_fields(s1_cf IN wf__custom_fields_table, s2__cf IN wf__custom_fields_table, r__cf OUT wf__custom_fields_table);
  </code></pre>
  
  <p>And I try to call it from my Java Code, I read some examples here but if I do something with</p>
  
  <pre><code>ArrayDescriptor arrDesc = ArrayDescriptor.createDescriptor
  </code></pre>
  
  <p>I got </p>
  
  <p>"ClassCastException: org.apache.commons.dbcp2.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnectionat"</p>
  
  <p>If I try it with </p>
  
  <pre><code>((OracleConnection) con).createOracleArray...
  </code></pre>
  
  <p>I got a operation not supported exception.</p>
  
  <p>How I can call my procedure? I Use 11g</p>