Skip to content
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 null check for getObject() with LocalTime and LocalDate #1250

Merged
merged 2 commits into from
Feb 8, 2020

Conversation

peterbae
Copy link
Contributor

@peterbae peterbae commented Feb 3, 2020

Added a null check to prevent NPE.

Fixes issue #1249.

@peterbae peterbae changed the title Fix LocalTime/LocalDate NPE issue Add null check for getObject() with LocalTime and LocalDate Feb 3, 2020
@peterbae peterbae merged commit 54b5a19 into microsoft:dev Feb 8, 2020
ulvii pushed a commit to ulvii/mssql-jdbc that referenced this pull request Mar 3, 2020
@leefine
Copy link

leefine commented Mar 17, 2020

yes,now i can upgrade the latest one.

rene-ye added a commit that referenced this pull request Mar 23, 2020
* SonarQube fixes

* Fix resource leak in AE

* Addressing comments

* throw exception if 3rd resultset is empty

* updated to use junit 5

* null check

* fixed typo

* added connection string to error msg

* add reqExternalSetup back to XA

* Hide the BouncyCastle call

* Make temp class non public

* updated fail error string to only include enclave properties

* added check for sql linux

* updated linux check to be compat for all servers

* add progress for multiple servers

* Update gradle profile

* update bouncy version

* fix dependency name

* add adal4j and keyvault

* Add adal4j to test compile

* remove static modifiers

* Revert "remove static modifiers"

This reverts commit e7988cc.

* Update junit and add params

* split test to exclude for reqExternSetup

* null checks

* add h2 driver

* Fix AEv2 tests exclude for reqExternalSetup and cleanup (#1247)

* changes for skipping

* Remove untested dependencies

* Revert "Remove untested dependencies"

This reverts commit a292364.

* Fix | Add null check for getObject() with LocalTime and LocalDate (#1250)

* added all AKV tests to use reqExternalSetup tag so they will be skipped by default (#1254)

* skip AKV test properly

* removed enclave properties string to failed errors as enclave tests could be skipped

Co-authored-by: rene-ye <rene-ye@users.noreply.github.com>
Co-authored-by: lilgreenbird <v-susanh@microsoft.com>
Co-authored-by: Peter Bae <v-hyba@microsoft.com>
rene-ye added a commit that referenced this pull request Apr 15, 2020
* Fix AEv2 tests exclude for reqExternalSetup and cleanup (#1247)

* skip AKV test properly

* removed enclave properties string to failed errors as enclave tests could be skipped

* Fix | Add null check for getObject() with LocalTime and LocalDate (#1250)

* added all AKV tests to use reqExternalSetup tag so they will be skipped by default (#1254)

* skip AKV test properly

* removed enclave properties string to failed errors as enclave tests could be skipped

* Optimize callablestatement test

* stop checking AE all the time, also add some tags

* some changes

* test

* Revert "test"

This reverts commit e05c67e.

* Revert "some changes"

This reverts commit 62d2e64.

* delete everythign

* add aev2 stuff

* fix index out of bounds

* fix errors

* Remove test that doesn't belong

* revert surefire plugin

* fix exclude

* revert table creation logic

* fixes

* alter

* z

* z

* zz

* temp

* zzz

* zzz

* re-add print

* address comments

* Don't use pstmt

* put expected values first

Co-authored-by: lilgreenbird <v-susanh@microsoft.com>
Co-authored-by: Peter Bae <v-hyba@microsoft.com>
Co-authored-by: rene-ye <rene-ye@users.noreply.github.com>
@lilgreenbird lilgreenbird added this to Closed/Merged PRs in MSSQL JDBC Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
MSSQL JDBC
  
Closed/Merged PRs
Development

Successfully merging this pull request may close these issues.

None yet

4 participants