java.sql.SQLException

Was expecting a result set at net.sourceforge.jtds.jdbc. PreparedStatement_base. executeQuery(PreparedStatement_base.java:214)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6119

  • via jtds by alf239
    , 11 months ago
    Was expecting a result set at net.sourceforge.jtds.jdbc. PreparedStatement_base. executeQuery(PreparedStatement_base.java:214)
  • 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)
  • via Hibernate JIRA by Alexey Filippov, 1 year ago
    Was expecting a result set
  • Stack trace

    • java.sql.SQLException: Was expecting a result set at net.sourceforge.jtds.jdbc. PreparedStatement_base. executeQuery(PreparedStatement_base.java:214) at TestJtds.main(TestJtds.java:17) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.