0 Replies Latest reply on Oct 6, 2006 12:44 AM by Manish Dwivedi

    java.lang.ClassCastException: oracle.jdbc.driver.OracleResul

    Manish Dwivedi Newbie


      in one of my application running in JBoss 4.0.3 SP1 i am fetching the resultset.After that

      ResultSet lobDetails = stmt.executeQuery(queryBuffer.toString());
      if (lobDetails.next()) {
      ResultSet urs = (org.jboss.resource.adapter.jdbc.WrappedResultSet) lobDetails).getUnderlyingResultSet();

      BLOB mapBlob = ((oracle.jdbc.OracleResultSet)urs).getBLOB("im");

      on creation of mapBlob i am getting the following error

      java.lang.ClassCastException: oracle.jdbc.driver.OracleResultSetImpl