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 support for JSON Spanner data type in Spring Data #593

Closed
elefeint opened this issue Aug 24, 2021 · 1 comment
Closed

Add support for JSON Spanner data type in Spring Data #593

elefeint opened this issue Aug 24, 2021 · 1 comment

Comments

@elefeint
Copy link
Contributor

Client library 6.12.0 release will have JSON support, as googleapis/java-spanner#872 was merged.

Add any necessary converter changes and a JSON field in the sample.

zhumin8 added a commit that referenced this issue Oct 12, 2021
To add support for JSON field in spring data spanner module.
With these changes, a custom POJO field can be mapped as JSON spanner data type with annotation @column(spannerType = TypeCode.JSON). Supporting:
create DDL; read; write; sql query edge case: where query return is Json-field or list of Json-field.

Corresponding issue: #593.

There are follow-up issues for this PR:
- Enhancement to spring data spanner JSON support - allow setting changes on Gson object #650
- support for ARRAY<JSON> in spring data spanner #651
@elefeint
Copy link
Contributor Author

Fixed by #635.

gkatzioura pushed a commit to gkatzioura/spring-cloud-gcp-1 that referenced this issue Oct 21, 2021
…CloudPlatform#635)

To add support for JSON field in spring data spanner module.
With these changes, a custom POJO field can be mapped as JSON spanner data type with annotation @column(spannerType = TypeCode.JSON). Supporting:
create DDL; read; write; sql query edge case: where query return is Json-field or list of Json-field.

Corresponding issue: GoogleCloudPlatform#593.

There are follow-up issues for this PR:
- Enhancement to spring data spanner JSON support - allow setting changes on Gson object GoogleCloudPlatform#650
- support for ARRAY<JSON> in spring data spanner GoogleCloudPlatform#651
gkatzioura pushed a commit to gkatzioura/spring-cloud-gcp-1 that referenced this issue Oct 21, 2021
…CloudPlatform#635)

To add support for JSON field in spring data spanner module.
With these changes, a custom POJO field can be mapped as JSON spanner data type with annotation @column(spannerType = TypeCode.JSON). Supporting:
create DDL; read; write; sql query edge case: where query return is Json-field or list of Json-field.

Corresponding issue: GoogleCloudPlatform#593.

There are follow-up issues for this PR:
- Enhancement to spring data spanner JSON support - allow setting changes on Gson object GoogleCloudPlatform#650
- support for ARRAY<JSON> in spring data spanner GoogleCloudPlatform#651
kateryna216 added a commit to kateryna216/spring-cloud-gcp that referenced this issue Oct 20, 2022
…CloudPlatform#635)

To add support for JSON field in spring data spanner module.
With these changes, a custom POJO field can be mapped as JSON spanner data type with annotation @column(spannerType = TypeCode.JSON). Supporting:
create DDL; read; write; sql query edge case: where query return is Json-field or list of Json-field.

Corresponding issue: GoogleCloudPlatform#593.

There are follow-up issues for this PR:
- Enhancement to spring data spanner JSON support - allow setting changes on Gson object GoogleCloudPlatform#650
- support for ARRAY<JSON> in spring data spanner GoogleCloudPlatform#651
prash-mi pushed a commit that referenced this issue Jun 20, 2023
Bumps [spring-boot-starter-parent](https://github.com/spring-projects/spring-boot) from 2.7.4 to 2.7.5.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](spring-projects/spring-boot@v2.7.4...v2.7.5)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter-parent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants