Fix | Align DatabaseMetadata.getColumns with JDBC 4.3 Specifications#1016
Merged
rene-ye merged 23 commits intomicrosoft:devfrom Jun 7, 2019
Merged
Fix | Align DatabaseMetadata.getColumns with JDBC 4.3 Specifications#1016rene-ye merged 23 commits intomicrosoft:devfrom
rene-ye merged 23 commits intomicrosoft:devfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #1016 +/- ##
============================================
- Coverage 53.43% 53.09% -0.34%
+ Complexity 3235 3167 -68
============================================
Files 119 119
Lines 28036 28118 +82
Branches 4680 4694 +14
============================================
- Hits 14980 14930 -50
- Misses 10911 10954 +43
- Partials 2145 2234 +89
Continue to review full report at Codecov.
|
peterbae
reviewed
Apr 8, 2019
peterbae
previously approved these changes
Apr 8, 2019
ulvii
reviewed
Apr 8, 2019
Member
Author
Existing API with tests, already being tested. |
peterbae
previously approved these changes
Apr 17, 2019
cheenamalhotra
previously approved these changes
Apr 18, 2019
lilgreenbird
previously approved these changes
May 13, 2019
Contributor
|
Please add the new columns to |
ulvii
reviewed
May 16, 2019
f582cc6
ulvii
reviewed
May 31, 2019
ulvii
reviewed
May 31, 2019
ulvii
previously approved these changes
Jun 5, 2019
cheenamalhotra
previously approved these changes
Jun 5, 2019
lilgreenbird
previously approved these changes
Jun 5, 2019
81bb73d
cheenamalhotra
approved these changes
Jun 6, 2019
ulvii
approved these changes
Jun 6, 2019
lilgreenbird
approved these changes
Jun 6, 2019
peterbae
approved these changes
Jun 7, 2019
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.
Addresses #1013. Aligns
ResultSetretrieved fromDatabaseMetaData.getColumns()with what's described in the JDBC Specifications here. Requires a change in our current MSDN docs and possibly a major version bump.Changes in createSqlKeyWords() due to formatting. Removed Katmai checks and explicitly uses sp_columns_100 as we no longer provide support for SQL Server 2008 and below.
SCOPE_CATALOG, SCOPE_SCHEMA, and SCOPE_TABLE explicitly always returns
NULLas SQL Server currently doesn't seem to supportREFcolumn types. The description for these fields is pasted below from the JDBC specification link above: