WrappedConnectionJDK6

Latest response

below code giving error when i try to pass array type variable to procedure.

org.jboss.jca.adapters.jdbc.jdk6.WrappedConnectionJDK6 wrappedConn = ( org.jboss.jca.adapters.jdbc.jdk6.WrappedConnectionJDK6)conn;      
    // get the underlying connection (T4CConnection)  
  Connection underlyingConn = wrappedConn.getUnderlyingConnection();
  // cast to oracle.jdbc.driver.OracleConnection
    oracle.jdbc.driver.OracleConnection oracleConn = (oracle.jdbc.driver.OracleConnection) underlyingConn;

Error is:

java.lang.ClassCastException: org.jboss.jca.adapters.jdbc.jdk6.WrappedConnectionJDK6 cannot be cast to org.jboss.jca.adapters.jdbc.jdk6.WrappedConnectionJDK6

Please give me suggestions on this.

Responses