java.sql.SQLException: Was expecting a result set at net.sourceforge.jtds.jdbc.PreparedStatement_base.executeQuery(PreparedStatement_base.java:264) at net.sourceforge.jtds.jdbc.DatabaseMetaData.getTables(DatabaseMetaData.java:1676)

jtds | mrezaei | 1 decade 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

    Exception with Sybase and metaData.getTables()

    jtds | 1 decade ago | mrezaei
    java.sql.SQLException: Was expecting a result set at net.sourceforge.jtds.jdbc.PreparedStatement_base.executeQuery(PreparedStatement_base.java:264) at net.sourceforge.jtds.jdbc.DatabaseMetaData.getTables(DatabaseMetaData.java:1676)
  2. 0

    DatabaseMetaData.getProcedureColumns broken on Sybase

    jtds | 1 decade ago | mrezaei
    java.sql.SQLException: The value supplied cannot be converted to INTEGER. at net.sourceforge.jtds.jdbc.Support.convert(Support.java:547) at net.sourceforge.jtds.jdbc.JtdsResultSet.getInt(JtdsResultSet.java:575) at net.sourceforge.jtds.jdbc.JtdsDatabaseMetaData.getProcedureColumns(JtdsDatabaseMetaData.java:1403)

    Root Cause Analysis

    1. java.sql.SQLException

      Was expecting a result set at net.sourceforge.jtds.jdbc.PreparedStatement_base.executeQuery(PreparedStatement_base.java:264) at net.sourceforge.jtds.jdbc.DatabaseMetaData.getTables(DatabaseMetaData.java:1676)

      at test.TestJtds.main()
    2. test
      TestJtds.main
      1. test.TestJtds.main(TestJtds.java:43)
      1 frame