You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When googleapis/java-spanner-jdbc#455 is merged, Spring Data integration needs to be updated to avoid leaking resources. Currently we handle the Aborted status manually to close the transaction manager, since Spring Data integration does not do automatic retries. If Unknown becomes a retryable status in the client library, the transaction manager will no longer be automatically closed for it and will have to be handled in this project.
Adding Spanner JSON Type support
JSON support is present in Client library since 6.12.0 release.
This PR intend to add JSON support to our repo.
Note that ARRAY support is not included and is intended as a follow-up PR to this. (created issue to track #458)
The major changes include:
- Add a JsonWrapper class.
- Add binder and decoder.
- Add String to JsonWrapper for read.
- Add to r2dbc sample and spring data r2dbc sample
- README docs
- register JsonWrapper.class as simple type in spring data dialect.
- register converters to/from Map in spring data dialect as default converters.
When googleapis/java-spanner-jdbc#455 is merged, Spring Data integration needs to be updated to avoid leaking resources. Currently we handle the
Aborted
status manually to close the transaction manager, since Spring Data integration does not do automatic retries. IfUnknown
becomes a retryable status in the client library, the transaction manager will no longer be automatically closed for it and will have to be handled in this project.See #251 and #250 for context.
The text was updated successfully, but these errors were encountered: