Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • WrappedConnectionJDK6

    Posted on

    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.

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat