java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid descriptor index

Oracle Community | 807592 | 2 decades ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    database connectivity

    Oracle Community | 2 decades ago | 807592
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid descriptor index

    Root Cause Analysis

    1. java.sql.SQLException

      [Microsoft][ODBC Driver Manager] Invalid descriptor index

      at sun.jdbc.odbc.JdbcOdbc.createSQLException()
    2. sun.jdbc.odbc
      JdbcOdbcResultSetMetaData.getColumnType
      1. sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
      2. sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
      3. sun.jdbc.odbc.JdbcOdbc.SQLColAttributes(Unknown Source)
      4. sun.jdbc.odbc.JdbcOdbcResultSet.getColAttribute(Unknown Source)
      5. sun.jdbc.odbc.JdbcOdbcResultSet.getColumnType(Unknown Source)
      6. sun.jdbc.odbc.JdbcOdbcResultSetMetaData.getColumnType(Unknown Source)
      6 frames
    3. Unknown
      TableDisplay.main
      1. TableDisplay.getNextRow(tabledisplay.java:106)
      2. TableDisplay.displayResultSet(tabledisplay.java:87)
      3. TableDisplay.getTable(tabledisplay.java:52)
      4. TableDisplay.<init>(tabledisplay.java:35)
      5. TableDisplay.main(tabledisplay.java:136)
      5 frames