fix: Types.BOOLEAN and Types.BIT should have identical behaviour for nullability#920
Conversation
…bility. In master, BOOLEAN is nullable but BIT will throw IllegalArgumentException if an attempt is made to set a null value.
|
🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use -- conventional-commit-lint bot |
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
…nullability. In master, BOOLEAN is nullable but BIT will throw IllegalArgumentException if an attempt is made to set a null value.
…panner-jdbc into bug-nullable_bit_type
rajatbhatta
left a comment
There was a problem hiding this comment.
LGTM. Adding @olavloite to take a look as well.
🤖 I have created a release *beep* *boop* --- ## [2.7.7](v2.7.6...v2.7.7) (2022-09-16) ### Bug Fixes * Types.BOOLEAN and Types.BIT should have identical behaviour for nullability ([#920](#920)) ([42e5903](42e5903)) ### Dependencies * Google-cloud-spanner-bom 6.30.0 ([#967](#967)) ([9385a5d](9385a5d)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#963](#963)) ([811d96b](811d96b)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#966](#966)) ([f8b88cd](f8b88cd)) * Update dependency com.google.cloud:google-cloud-spanner-bom to v6.29.0 ([#943](#943)) ([9754023](9754023)) * Update dependency com.google.cloud:google-cloud-spanner-bom to v6.29.1 ([#961](#961)) ([a3e1fc6](a3e1fc6)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ## [2.7.7](googleapis/java-spanner-jdbc@v2.7.6...v2.7.7) (2022-09-16) ### Bug Fixes * Types.BOOLEAN and Types.BIT should have identical behaviour for nullability ([googleapis#920](googleapis/java-spanner-jdbc#920)) ([7a49504](googleapis/java-spanner-jdbc@7a49504)) ### Dependencies * Google-cloud-spanner-bom 6.30.0 ([googleapis#967](googleapis/java-spanner-jdbc#967)) ([f066bed](googleapis/java-spanner-jdbc@f066bed)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([googleapis#963](googleapis/java-spanner-jdbc#963)) ([cd7ea51](googleapis/java-spanner-jdbc@cd7ea51)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([googleapis#966](googleapis/java-spanner-jdbc#966)) ([021523b](googleapis/java-spanner-jdbc@021523b)) * Update dependency com.google.cloud:google-cloud-spanner-bom to v6.29.0 ([googleapis#943](googleapis/java-spanner-jdbc#943)) ([8e225d0](googleapis/java-spanner-jdbc@8e225d0)) * Update dependency com.google.cloud:google-cloud-spanner-bom to v6.29.1 ([googleapis#961](googleapis/java-spanner-jdbc#961)) ([8cace91](googleapis/java-spanner-jdbc@8cace91)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Types.BOOLEAN and Types.BIT should have identical behaviour for nullability. In master, BOOLEAN is nullable but BIT will throw IllegalArgumentException if an attempt is made to set a null value.
Fixes #919