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

db-ddlutils-user | Tim Dudgeon | 1 decade 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

    Re: Supporting a new db type

    db-ddlutils-user | 1 decade ago | Tim Dudgeon
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid descriptor index
  2. 0

    <IMP>Interface execution fail first time but execute correctly on 2nd run

    Oracle Community | 5 years ago | MaheshGx
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
  3. 0

    Column annotation with special characters

    Stack Overflow | 4 years ago | PeterMmm
    java.sql.SQLException: Column not found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SELECT COUNT from MS Access to a JTable with DButils

    Stack Overflow | 5 years ago | Jay122
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid cursor state
  6. 0

    Error when trying to access memo field (EclipseLink, JdbcOdbc, Clob)

    Stack Overflow | 5 years ago | Metal Wing
    java.sql.SQLException: [Microsoft][ODBC Visual FoxPro Driver]Feature is not available. Error Code: 0 Call: SELECT TDTDKEY, TDDETAILS FROM TODO Query: ReadAllQuery(name="Todo.findAll" referenceClass=Todo sql="SELECT TDTDKEY, TDDETAILS FROM TODO")

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.sql.SQLException

      [Microsoft][ODBC Driver Manager] Invalid descriptor index

      at sun.jdbc.odbc.JdbcOdbc.createSQLException()
    2. sun.jdbc.odbc
      JdbcOdbcResultSet.getObject
      1. sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6958)
      2. sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7115)
      3. sun.jdbc.odbc.JdbcOdbc.SQLColAttributes(JdbcOdbc.java:2614)
      4. sun.jdbc.odbc.JdbcOdbcResultSet.getColAttribute(JdbcOdbcResultSet.java:5445)
      5. sun.jdbc.odbc.JdbcOdbcResultSet.getColumnType(JdbcOdbcResultSet.java:6056)
      6. sun.jdbc.odbc.JdbcOdbcResultSet.getMaxCharLen(JdbcOdbcResultSet.java:5473)
      7. sun.jdbc.odbc.JdbcOdbcResultSet.getString(JdbcOdbcResultSet.java:277)
      8. sun.jdbc.odbc.JdbcOdbcResultSet.getObject(JdbcOdbcResultSet.java:1677)
      8 frames
    3. org.apache.ddlutils
      DumpMetadataTask.execute
      1. org.apache.ddlutils.task.DumpMetadataTask.addResultSetProperty(DumpMetadataTask.java:380)
      2. org.apache.ddlutils.task.DumpMetadataTask.addProperty(DumpMetadataTask.java:324)
      3. org.apache.ddlutils.task.DumpMetadataTask.dumpProperty(DumpMetadataTask.java:294)
      4. org.apache.ddlutils.task.DumpMetadataTask.dumpMetaData(DumpMetadataTask.java:269)
      5. org.apache.ddlutils.task.DumpMetadataTask.execute(DumpMetadataTask.java:214)
      5 frames
    4. Ant
      Main.startAnt
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      2. org.apache.tools.ant.Task.perform(Task.java:364)
      3. org.apache.tools.ant.Target.execute(Target.java:341)
      4. org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:142)
      5. org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91)
      6. org.apache.tools.ant.Main.runBuild(Main.java:653)
      7. org.apache.tools.ant.Main.startAnt(Main.java:187)
      7 frames