Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

feat: Last statement sample#3830

Merged
gcf-merge-on-green[bot] merged 19 commits into
googleapis:maingoogleapis/java-spanner:mainfrom
sgorse123:last-statement-samplesgorse123/java-spanner:last-statement-sampleCopy head branch name to clipboard
Jun 4, 2025
Merged

feat: Last statement sample#3830
gcf-merge-on-green[bot] merged 19 commits into
googleapis:maingoogleapis/java-spanner:mainfrom
sgorse123:last-statement-samplesgorse123/java-spanner:last-statement-sampleCopy head branch name to clipboard

Conversation

@sgorse123

Copy link
Copy Markdown
Contributor

Support of the last statement option was added in #3647 by @olavloite.

This change adds a sample of how to use the option in the last DML statement of a transaction.

@sgorse123 sgorse123 requested review from a team April 21, 2025 16:02
@snippet-bot

snippet-bot Bot commented Apr 21, 2025

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 2 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@product-auto-label product-auto-label Bot added size: m Pull request size is medium. api: spanner Issues related to the googleapis/java-spanner API. samples Issues that are directly related to samples. labels Apr 21, 2025
@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 Apr 21, 2025
@rahul2393 rahul2393 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 25, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 25, 2025
rahul2393
rahul2393 previously approved these changes Apr 28, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 7, 2025
@rahul2393 rahul2393 added the automerge Merge the pull request once unit tests and other checks pass. label Jun 3, 2025
@rahul2393 rahul2393 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 3, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 3, 2025
@gcf-merge-on-green gcf-merge-on-green Bot merged commit 2f62816 into googleapis:main Jun 4, 2025
33 checks passed
@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Jun 4, 2025
svc-squareup-copybara pushed a commit to cashapp/misk that referenced this pull request Jun 8, 2025
| Package | Type | Package file | Manager | Update | Change |
|---|---|---|---|---|---|
|
[com.google.cloud:google-cloud-spanner](https://github.com/googleapis/java-spanner)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`6.94.0` -> `6.95.0` |
| [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.58` -> `2.31.59` |
| [software.amazon.awssdk:sqs](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.58` -> `2.31.59` |
|
[software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.58` -> `2.31.59` |
| [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.58` -> `2.31.59` |
| [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.58` -> `2.31.59` |
| [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.58` -> `2.31.59` |
| [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.31.58` -> `2.31.59` |

---

### Release Notes

<details>
<summary>googleapis/java-spanner
(com.google.cloud:google-cloud-spanner)</summary>

###
[`v6.95.0`](https://github.com/googleapis/java-spanner/blob/HEAD/CHANGELOG.md#6950-2025-06-05)

##### Features

- Enable ALTS hard bound token in DirectPath
([#&#8203;3904](googleapis/java-spanner#3904))
([2b0f2ff](googleapis/java-spanner@2b0f2ff))
- Enable grpc and afe metrics
([#&#8203;3896](googleapis/java-spanner#3896))
([706f794](googleapis/java-spanner@706f794))
- Last statement sample
([#&#8203;3830](googleapis/java-spanner#3830))
([2f62816](googleapis/java-spanner@2f62816))
- **spanner:** Add new change_stream.proto
([f385698](googleapis/java-spanner@f385698))

##### Bug Fixes

- Directpath_enabled attribute
([#&#8203;3897](googleapis/java-spanner#3897))
([53bc510](googleapis/java-spanner@53bc510))

##### Dependencies

- Update dependency io.opentelemetry:opentelemetry-bom to v1.50.0
([#&#8203;3887](googleapis/java-spanner#3887))
([94b879c](googleapis/java-spanner@94b879c))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 6pm every weekday,before 2am
every weekday" in timezone Australia/Melbourne, Automerge - At any time
(no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

GitOrigin-RevId: 87852b9affb31b6742120ba0fac9e43b3dda6d19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: spanner Issues related to the googleapis/java-spanner API. samples Issues that are directly related to samples. size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.