feat: add option to indicate that a statement is the last in a transaction#3644
Merged
olavloite merged 3 commits intogoogleapis:last-statementfrom Feb 13, 2025
Merged
feat: add option to indicate that a statement is the last in a transaction#3644olavloite merged 3 commits intogoogleapis:last-statementfrom
olavloite merged 3 commits intogoogleapis:last-statementfrom
Conversation
olavloite
added a commit
that referenced
this pull request
Feb 17, 2025
…ction (#3647) * feat: add option to indicate that a statement is the last in a transaction (#3644) * feat: Add LastStatement DML option * Removing debugging changes --------- Co-authored-by: Shirdon Gorse <[email protected]> * feat: set last_statement for autocommit statements Automatically sets the last_statement option to true for DML statements that are executed in autocommit=true mode. * fix: add hashCode implementation Add a hashCode implementation that ensures that it is in sync with the equals method. * chore: generate libraries at Fri Feb 14 08:41:45 UTC 2025 * fix: extract error details from SpannerException --------- Co-authored-by: Shirdon Gorse <[email protected]> Co-authored-by: cloud-java-bot <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an option to indicate that a SQL statement is the last in a read/write transaction. This allows Spanner to skip some verifications when executing the statement. The only allowed action after sending a statement with the option
last_statementis aCommitor aRollback.