We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The statement of the validation query is not closed when an exception happen. The close should be moved to a finally block I guess.
https://github.com/Microsoft/mssql-jdbc/blob/dev/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerConnection.java#L5584
The comment below suggest you would have to catch exceptions and to set valid=false. This complicates the code but looks like the right thing to do.
The text was updated successfully, but these errors were encountered:
@ecki Thanks for catching it, PR #955 should address this concern.
Sorry, something went wrong.
No branches or pull requests
Question
The statement of the validation query is not closed when an exception happen. The close should be moved to a finally block I guess.
https://github.com/Microsoft/mssql-jdbc/blob/dev/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerConnection.java#L5584
The comment below suggest you would have to catch exceptions and to set valid=false. This complicates the code but looks like the right thing to do.
The text was updated successfully, but these errors were encountered: