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

Cloud Spanner Spring Data: close resources on Unknown errors #456

Closed
elefeint opened this issue May 4, 2021 · 1 comment
Closed

Cloud Spanner Spring Data: close resources on Unknown errors #456

elefeint opened this issue May 4, 2021 · 1 comment
Labels

Comments

@elefeint
Copy link
Contributor

elefeint commented May 4, 2021

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.

See #251 and #250 for context.

@elefeint
Copy link
Contributor Author

elefeint commented Aug 1, 2022

Obsolete; per upstream issue Unknown did not become retriable.

@elefeint elefeint closed this as completed Aug 1, 2022
prash-mi pushed a commit that referenced this issue Jun 20, 2023
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant