-
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
Add support for JavaType.UUID #2412
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2412 +/- ##
============================================
- Coverage 50.26% 50.05% -0.21%
+ Complexity 3875 3830 -45
============================================
Files 145 145
Lines 33409 33402 -7
Branches 5667 5663 -4
============================================
- Hits 16794 16721 -73
- Misses 14249 14281 +32
- Partials 2366 2400 +34 ☔ View full report in Codecov by Sentry. |
Please note that, in order to cover the UUID conversions, I updated a couple of AlwaysEncrypted unit tests. |
@vxel This might help: https://github.com/microsoft/mssql-jdbc/wiki/How-to-run-Always-Encrypted-tests-locally |
Thank you @David-Engel for the link. Yes, this PR is failing on our AE tests in our internal pipeline, please correct this before we review. The above link should help in allowing you to setup and test AE tests locally. |
Thank you for the link, I will take a look ! |
Thanks to the link I was able to run most of the tests in groups xSQLv12,xSQLv15 and reqExternalSetup. I've fixed a couple of issues. |
@Jeffery-Wasty The Azure pipeline configuration seems broken, could you take a look ? Thanks ! |
Hi @vxel, We're aware of this issue, but do not have a solution in place. We plan on resolving this following our 12.8 GA release. |
This PR relates to feature request #1582 and follows pull request #2370.
While PR #2370 allowed sending UUID as TDSType.GUID on the wire, it still required the UUID be passed as String to the statement
setObject()
method.This PR aims at providing support for the UUID Java type as parameter for the
setObject()
method and hence complete feature request #1582.Example :
pstmt.setObject(1, UUID.randomUUID())