java.sql.SQLException: [Microsoft][ODBC Driver Manage r] Function sequence error

java.com | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Bug ID: JDK-4247124 "Function sequence error" when accessing multiple result sets

    java.com | 8 months ago
    java.sql.SQLException: [Microsoft][ODBC Driver Manage r] Function sequence error

    Root Cause Analysis

    1. java.sql.SQLException

      [Microsoft][ODBC Driver Manage r] Function sequence error

      at sun.jdbc.odbc.JdbcOdbc.createSQLException()
    2. sun.jdbc.odbc
      JdbcOdbcStatement.getUpdateCount
      1. sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:4089)
      2. sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:4246)
      3. sun.jdbc.odbc.JdbcOdbc.SQLNumResultCols(JdbcOdbc.java:2612)
      4. sun.jdbc.odbc.JdbcOdbcStatement.getColumnCount(JdbcOdbcStatement.java:664)
      5. sun.jdbc.odbc.JdbcOdbcStatement.getUpdateCount(JdbcOdbcStatement.java:300)
      5 frames
    3. com.epicor.jdbc
      test.main
      1. com.epicor.jdbc.Server.executeQuery(Server.java:79)
      2. com.epicor.jdbc.test.main(test.java:31)
      2 frames