Improvement | Added new APIs to retrieve SQL Server error information received with SQLServerException#905
Merged
cheenamalhotra merged 7 commits intomicrosoft:devfrom Dec 17, 2018
Conversation
… received with SQLServerException
Codecov Report
@@ Coverage Diff @@
## dev #905 +/- ##
============================================
- Coverage 48.79% 48.71% -0.09%
+ Complexity 2824 2821 -3
============================================
Files 118 118
Lines 27877 27882 +5
Branches 4642 4642
============================================
- Hits 13602 13582 -20
- Misses 12086 12103 +17
- Partials 2189 2197 +8
Continue to review full report at Codecov.
|
peterbae
reviewed
Dec 10, 2018
Contributor
peterbae
left a comment
There was a problem hiding this comment.
Why are we renaming StreamError to SQLServerError? StreamError is a child of the StreamPacket and all the children of StreamPacket have the same naming scheme, and only StreamError is being changed to SQLServerError?
ulvii
reviewed
Dec 12, 2018
Contributor
|
Please add tests for the new APIs. |
ulvii
reviewed
Dec 12, 2018
src/main/java/com/microsoft/sqlserver/jdbc/SQLServerException.java
Outdated
Show resolved
Hide resolved
ulvii
reviewed
Dec 12, 2018
rene-ye
previously approved these changes
Dec 13, 2018
peterbae
previously approved these changes
Dec 13, 2018
f2645ca
src/main/java/com/microsoft/sqlserver/jdbc/SQLServerException.java
Outdated
Show resolved
Hide resolved
src/main/java/com/microsoft/sqlserver/jdbc/SQLServerException.java
Outdated
Show resolved
Hide resolved
ulvii
reviewed
Dec 14, 2018
src/test/java/com/microsoft/sqlserver/testframework/AbstractTest.java
Outdated
Show resolved
Hide resolved
ulvii
reviewed
Dec 14, 2018
src/main/java/com/microsoft/sqlserver/jdbc/SQLServerException.java
Outdated
Show resolved
Hide resolved
ulvii
approved these changes
Dec 17, 2018
lilgreenbird
approved these changes
Dec 17, 2018
rene-ye
approved these changes
Dec 17, 2018
peterbae
approved these changes
Dec 17, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes issue #885
Currently driver does not provide access to detailed information about SQLServerException when error is raised from SQL Server. This PR renames class StreamError to SQLServerError and provides public APIs that can be called to read additional SQL Server error information.
New Public APIs Added: