Closed suztomo closed 1 year ago
Quick update: Error trace seems to point at JdbcParameterStore
, but I don't see anything of the nature in JdbcParameterStore , or in the tests for it. cc @thiagotnunes
@ansh0l Thank you for checking. I added https://cloud.google.com/spanner/docs/working-with-json#create_a_table_with_a_json_column says:
JSON columns can be nullable
in the issue description. I'll wait for your update.
This should be fixed in the latest version.
We observe that google-cloud-spanner-jdbc doesn't let us set null for JSON column. From the stacktrace below, it seems that the related classes are from google-cloud-spanner-jdbc. Do you think it's a missing feature in this library?
Environment details
Steps to reproduce
java.lang.IllegalArgumentException: Unsupported sql type for setting to null: 100011
.Code example
From https://github.com/GoogleCloudPlatform/google-cloud-spanner-hibernate/pull/383/files
Stack trace
External references such as API reference guides
Any additional information below
We're not 100% certain that google-cloud-spanner-jdbc is the root cause of the error. Do you think this is a missing feature in the library?
https://cloud.google.com/spanner/docs/working-with-json#create_a_table_with_a_json_column says: