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 STATEMENT_TAG #77

Merged
merged 2 commits into from
Dec 9, 2024
Merged

Fix STATEMENT_TAG #77

merged 2 commits into from
Dec 9, 2024

Conversation

apstndb
Copy link
Owner

@apstndb apstndb commented Dec 9, 2024

The current STATEMENT_TAG is not yet compatible with Spanner JDBC driver.

https://cloud.google.com/spanner/docs/jdbc-session-mgmt-commands?hl=en#tags

Sets the request tag for the next statement to be executed. Only one tag can be set per statement. The tag doesn't span multiple statements; it must be set on a per statement basis. A request tag can be removed by setting it to the empty string ('').
-- The statement tag property is cleared after each statement execution.

Now STATEMENT_TAG is effective only in the next query.

@apstndb apstndb merged commit 41beaba into main Dec 9, 2024
2 checks passed
@apstndb apstndb deleted the fix/statement-tag branch December 9, 2024 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant