1 Reply Latest reply: Aug 4, 2012 1:57 PM by rp0428 RSS

    SQLException - IO Exception: bad file number

    550542

      Hi , I get this error message while reading from result set..Could any one help ?

      java.sql.SQLException: Io exception: Bad file number
      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:254)
      at oracle.jdbc.driver.T4CPreparedStatement.fetch(T4CPreparedStatement.java:1036)
      at oracle.jdbc.driver.OracleResultSetImpl.close_or_fetch_from_next(OracleResultSetImpl.java:290)
      at oracle.jdbc.driver.OracleResultSetImpl.next(OracleResultSetImpl.java:212)
      at org.jboss.resource.adapter.jdbc.WrappedResultSet.next(WrappedResultSet.java:520)

        • 1. Re: SQLException - IO Exception: bad file number
          rp0428
          Welcome to the forum!

          When you post provide your 4 digit Oracle version (result of SELECT * FROM V$VERSION) your JDK version and JDBC jar version.
          >
          Hi , I get this error message while reading from result set..Could any one help ?
          >
          Not unless you post the code you are using and describe what that code is doing when you get the error.