issue:
When a wrong database or instance was specified, seems that the driver will run forever when running a Query. An error and a stacktrace will be logged, but the process will not terminate and an exception is not thrown.
steps to repro:
create a jdbc connection using the proper credentials, but introduce a typo in either the instance name or the database name
using the connection object, create a statement
statement.executeQuery("SQL query here")
results:
statement.executeQuery() never completes
expected:
statement.executeQuery() completes and an exception is thrown
driver version: 1.1.5 environment: Windows 10 x64
issue: When a wrong database or instance was specified, seems that the driver will run forever when running a Query. An error and a stacktrace will be logged, but the process will not terminate and an exception is not thrown.
steps to repro:
results: statement.executeQuery() never completes
expected: statement.executeQuery() completes and an exception is thrown