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

fix: comments should be sent to Spanner for PostgreSQL databases #1331

Merged
merged 12 commits into from Sep 15, 2023

Conversation

olavloite
Copy link
Collaborator

@olavloite olavloite commented Aug 25, 2023

Comments for PostgreSQL-dialect databases should be included in the request that is sent to Cloud Spanner. This is needed, because for PostgreSQL comments can contain query hints.

…ement

Adds tests for all the different variations of the execute method on
Statement and PreparedStatement. This will allow us to make internal
changes to the way these methods are handled, while keeping control over
any behavior changes that it might introduce.
Refactor the execute methods a bit so they all share the same
do-with-timeout logic.
@olavloite olavloite added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Aug 25, 2023
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: spanner Issues related to the googleapis/java-spanner-jdbc API. labels Aug 25, 2023
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Sep 14, 2023
@olavloite olavloite removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Sep 14, 2023
@olavloite olavloite changed the title test: comments should be sent to Spanner fix: comments should be sent to Spanner for PostgreSQL databases Sep 14, 2023
@olavloite olavloite marked this pull request as ready for review September 14, 2023 14:42
@olavloite olavloite requested a review from a team as a code owner September 14, 2023 14:42
Base automatically changed from test-execute-methods to main September 15, 2023 11:35
@product-auto-label product-auto-label bot added size: l Pull request size is large. and removed size: m Pull request size is medium. labels Sep 15, 2023
@olavloite olavloite added the automerge Merge the pull request once unit tests and other checks pass. label Sep 15, 2023
@gcf-merge-on-green gcf-merge-on-green bot merged commit 7c9e781 into main Sep 15, 2023
23 checks passed
@gcf-merge-on-green gcf-merge-on-green bot deleted the retain-comments branch September 15, 2023 13:06
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Sep 15, 2023
gcf-merge-on-green bot pushed a commit that referenced this pull request Sep 16, 2023
🤖 I have created a release *beep* *boop*
---


## [2.13.0](https://togithub.com/googleapis/java-spanner-jdbc/compare/v2.12.1...v2.13.0) (2023-09-15)


### Features

* Support partitioned queries ([#1300](https://togithub.com/googleapis/java-spanner-jdbc/issues/1300)) ([c50da41](https://togithub.com/googleapis/java-spanner-jdbc/commit/c50da41e688ff48f8967c0f114f5bac8eaac49f9))


### Bug Fixes

* Comments should be sent to Spanner for PostgreSQL databases ([#1331](https://togithub.com/googleapis/java-spanner-jdbc/issues/1331)) ([7c9e781](https://togithub.com/googleapis/java-spanner-jdbc/commit/7c9e781bf45b112266e278e1df1586e56043698e))


### Documentation

* Create Spring Data JDBC sample ([#1334](https://togithub.com/googleapis/java-spanner-jdbc/issues/1334)) ([cefea55](https://togithub.com/googleapis/java-spanner-jdbc/commit/cefea55086eb191f71a1a493e046cb136f9f9f87))


### Dependencies

* Update actions/checkout action to v4 - abandoned ([#1333](https://togithub.com/googleapis/java-spanner-jdbc/issues/1333)) ([ce82b42](https://togithub.com/googleapis/java-spanner-jdbc/commit/ce82b42d3abb8de0f8b3ee2915c2008673775ea1))
* Update dependency org.springframework.data:spring-data-bom to v2023.0.4 ([#1347](https://togithub.com/googleapis/java-spanner-jdbc/issues/1347)) ([893f61a](https://togithub.com/googleapis/java-spanner-jdbc/commit/893f61ab04e32c690f1ff9fc813bd2ba6ebca328))

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/java-spanner-jdbc API. size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants