Implement ResultSet.getObject(int/String, Class)#304
Merged
xiangyushawn merged 1 commit intomicrosoft:devfrom Jul 24, 2017
marschall:getObject-class
Merged
Implement ResultSet.getObject(int/String, Class)#304xiangyushawn merged 1 commit intomicrosoft:devfrom marschall:getObject-class
xiangyushawn merged 1 commit intomicrosoft:devfrom
marschall:getObject-class
Conversation
The optional ResultSet#getObject(int, Class) and ResultSet#getObject(String, Class) methods are currently not implemented. Besides the conversions mentioned in appendix Appendix B, Table B-3 we also support uniqueidentifier <-> UUID. This commit does not include support for JSR-310 data types in order to keep it smaller. Fixes #6
Codecov Report
@@ Coverage Diff @@
## dev #304 +/- ##
============================================
+ Coverage 42.69% 43.89% +1.19%
- Complexity 2290 2336 +46
============================================
Files 107 107
Lines 30220 30930 +710
Branches 5858 6087 +229
============================================
+ Hits 12903 13576 +673
+ Misses 15148 15031 -117
- Partials 2169 2323 +154
Continue to review full report at Codecov.
|
|
@marschall, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request. |
Contributor
Author
|
At least H2 and PostgreSQL have a G|UUID type as well and support reading UUIDs with |
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.
The optional ResultSet#getObject(int, Class) and
ResultSet#getObject(String, Class) methods are currently not
implemented.
Besides the conversions mentioned in appendix Appendix B, Table B-3 we
also support uniqueidentifier <-> UUID.
This commit does not include support for JSR-310 data types in order to
keep it smaller.
Fixes #6