-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
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
Connection gets closed because the "variant" data type is not supported #91
Comments
Partial stack trace:
|
Thanks @sualeh! We are looking into this issue. If the driver is to leave the connection open after throwing appropriate exception, it should discard the TDS packet/packets from the response, we are looking for an effective way to do that. Do let us know if you have any suggestions for that. |
Here is the PR with fix for connection close issue. Please use it for testing and update us. Thanks! |
Fixed in 6.1.2 |
…SequenceGenerator with a database sequence having the increment size of 1
When I execute
SELECT * FROM INFORMATION_SCHEMA.SEQUENCES
, the connection gets closed, with an exception indicating that the "variant" data type is not supported. Consider throwingSQLServerException
with a state other thancom.microsoft.sqlserver.jdbc.SQLServerException.EXCEPTION_XOPEN_CONNECTION_FAILURE
, and not closing the database connection.Please let me know if you need more information.
The text was updated successfully, but these errors were encountered: