mssql-jdbc: getMoreResults Skips resultsets[BUG]

Driver version

SQL Server version

Client Operating System

JAVA/JVM version

Table schema

Problem description

  1. Expected behaviour:
  2. Actual behaviour:
  3. Error message/stack trace:
  4. Any other details that can be helpful:

JDBC trace logs

Reproduction code

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 15 (6 by maintainers)

Most upvoted comments

Hi @martinm1000 @biasb

This issue occurs only in cases where SQL Warnings are recieved with ResultSets. If no SQL Warnings are recieved, the driver does not attempt parsing them and the resultsets are available as expected. We have found out the warning parsing is parsing additional information which is leading in missing next ResultSet from stream.

Work is in progress to fix this behavior, will let you know soon.

Hi @michaeldenkmal @free2bcreative @softboy99

PR #991 was merged today, hence closing the issue. The fix will be available in next preview release.

Thank you!