From 5e9804a2260e3d86e283513c444274532f59971f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Sat, 27 Sep 2025 05:30:26 +0000 Subject: [PATCH 01/20] chore(main): release 2.33.1-SNAPSHOT (#2229) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- versions.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index b457a2356..17518a750 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-spanner-jdbc - 2.33.0 + 2.33.1-SNAPSHOT jar Google Cloud Spanner JDBC https://github.com/googleapis/java-spanner-jdbc diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 59afa6f0d..e23e32c1a 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-spanner-jdbc - 2.33.0 + 2.33.1-SNAPSHOT diff --git a/versions.txt b/versions.txt index 4edb3f7a6..53ba1a2db 100644 --- a/versions.txt +++ b/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-spanner-jdbc:2.33.0:2.33.0 +google-cloud-spanner-jdbc:2.33.0:2.33.1-SNAPSHOT From e49797259f22ff92d641583a08800320ff18476b Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Sun, 28 Sep 2025 07:20:24 +0100 Subject: [PATCH 02/20] chore(deps): update dependency com.google.cloud:google-cloud-spanner-jdbc to v2.33.0 (#2230) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-spanner-jdbc](https://redirect.github.com/googleapis/java-spanner-jdbc) | `2.32.3` -> `2.33.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.cloud:google-cloud-spanner-jdbc/2.33.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.google.cloud:google-cloud-spanner-jdbc/2.33.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.google.cloud:google-cloud-spanner-jdbc/2.32.3/2.33.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.cloud:google-cloud-spanner-jdbc/2.32.3/2.33.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-spanner-jdbc (com.google.cloud:google-cloud-spanner-jdbc) ### [`v2.33.0`](https://redirect.github.com/googleapis/java-spanner-jdbc/blob/HEAD/CHANGELOG.md#2330-2025-09-27) [Compare Source](https://redirect.github.com/googleapis/java-spanner-jdbc/compare/v2.32.3...v2.33.0) ##### Features - Add transaction\_timeout connection property ([#​2226](https://redirect.github.com/googleapis/java-spanner-jdbc/issues/2226)) ([092df54](https://redirect.github.com/googleapis/java-spanner-jdbc/commit/092df54f1bd823ce721c29732a51f8ef5065a6f2)) ##### Dependencies - Update dependency com.google.api.grpc:proto-google-cloud-trace-v1 to v2.74.0 ([#​2205](https://redirect.github.com/googleapis/java-spanner-jdbc/issues/2205)) ([84dd68c](https://redirect.github.com/googleapis/java-spanner-jdbc/commit/84dd68cd661623132c007ac1bed9e69950aa3cac)) - Update dependency com.google.api.grpc:proto-google-cloud-trace-v1 to v2.75.0 ([#​2223](https://redirect.github.com/googleapis/java-spanner-jdbc/issues/2223)) ([4aaa4a1](https://redirect.github.com/googleapis/java-spanner-jdbc/commit/4aaa4a132473935746d91363cf4e8b80e08bd017)) - Update dependency com.google.cloud:google-cloud-trace to v2.74.0 ([#​2211](https://redirect.github.com/googleapis/java-spanner-jdbc/issues/2211)) ([ac95834](https://redirect.github.com/googleapis/java-spanner-jdbc/commit/ac958346f19faad5eaf8dd53ce88b995261e9897)) - Update dependency com.google.cloud:google-cloud-trace to v2.75.0 ([#​2224](https://redirect.github.com/googleapis/java-spanner-jdbc/issues/2224)) ([99392d4](https://redirect.github.com/googleapis/java-spanner-jdbc/commit/99392d4aa010331815759c45b34372f6766ec9c8)) - Update dependency com.google.cloud:sdk-platform-java-config to v3.52.2 ([#​2218](https://redirect.github.com/googleapis/java-spanner-jdbc/issues/2218)) ([5718b16](https://redirect.github.com/googleapis/java-spanner-jdbc/commit/5718b161ce326fac7e85fed0bda960e00f035cde)) - Update dependency com.spotify.fmt:fmt-maven-plugin to v2.29 ([#​2214](https://redirect.github.com/googleapis/java-spanner-jdbc/issues/2214)) ([a73a772](https://redirect.github.com/googleapis/java-spanner-jdbc/commit/a73a77245f4827afb8580912d437543b5cc59317)) - Update dependency io.opentelemetry:opentelemetry-bom to v1.54.1 ([#​2220](https://redirect.github.com/googleapis/java-spanner-jdbc/issues/2220)) ([b386483](https://redirect.github.com/googleapis/java-spanner-jdbc/commit/b38648370a09631d5f6514aad2960dd3c76af99c)) - Update dependency org.apache.commons:commons-lang3 to v3.19.0 ([#​2225](https://redirect.github.com/googleapis/java-spanner-jdbc/issues/2225)) ([1ea3eca](https://redirect.github.com/googleapis/java-spanner-jdbc/commit/1ea3eca4c7711775d5d1b89534e490a989ad4630)) - Update dependency org.postgresql:postgresql to v42.7.8 ([#​2221](https://redirect.github.com/googleapis/java-spanner-jdbc/issues/2221)) ([bcc3f3d](https://redirect.github.com/googleapis/java-spanner-jdbc/commit/bcc3f3d59c02d2d7ff70e6a65a86f0750587c52e)) - Update dependency org.springframework.boot:spring-boot to v3.5.6 ([#​2216](https://redirect.github.com/googleapis/java-spanner-jdbc/issues/2216)) ([84396e0](https://redirect.github.com/googleapis/java-spanner-jdbc/commit/84396e042d3ac2d7da35bb7900f25f59d36f83d9)) - Update dependency org.springframework.boot:spring-boot-starter-data-jdbc to v3.5.6 ([#​2217](https://redirect.github.com/googleapis/java-spanner-jdbc/issues/2217)) ([1805daa](https://redirect.github.com/googleapis/java-spanner-jdbc/commit/1805daa587fe5f589213b0ef23fe773137446f9a)) - Update dependency org.springframework.boot:spring-boot-starter-parent to v3.5.6 ([#​2219](https://redirect.github.com/googleapis/java-spanner-jdbc/issues/2219)) ([63525af](https://redirect.github.com/googleapis/java-spanner-jdbc/commit/63525af099a80b0ae89bd3336244a3aa4e8b71e0)) - Update dependency org.springframework.data:spring-data-bom to v2025.0.4 ([#​2204](https://redirect.github.com/googleapis/java-spanner-jdbc/issues/2204)) ([f6327c7](https://redirect.github.com/googleapis/java-spanner-jdbc/commit/f6327c79ce4d3dd30994b0c2419ae5b6b058d156))
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/java-spanner-jdbc). --- samples/install-without-bom/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 06eab9662..041fab8ac 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-spanner-jdbc - 2.32.3 + 2.33.0 From ded79447b8ecd294e56560b43cb02e45464706f1 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 29 Sep 2025 07:16:51 +0100 Subject: [PATCH 03/20] deps: update dependency com.google.cloud:google-cloud-spanner-bom to v6.101.1 (#2228) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * deps: update dependency com.google.cloud:google-cloud-spanner-bom to v6.101.1 * chore: add bytebuddy for test workaround --------- Co-authored-by: Knut Olav LΓΈite --- samples/spring-data-jdbc/googlesql/pom.xml | 2 +- samples/spring-data-jdbc/postgresql/pom.xml | 15 ++++++++++++++- samples/spring-data-mybatis/googlesql/pom.xml | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/samples/spring-data-jdbc/googlesql/pom.xml b/samples/spring-data-jdbc/googlesql/pom.xml index 31db916ba..a1c00cc20 100644 --- a/samples/spring-data-jdbc/googlesql/pom.xml +++ b/samples/spring-data-jdbc/googlesql/pom.xml @@ -30,7 +30,7 @@ com.google.cloud google-cloud-spanner-bom - 6.100.0 + 6.101.1 import pom diff --git a/samples/spring-data-jdbc/postgresql/pom.xml b/samples/spring-data-jdbc/postgresql/pom.xml index aa78ad2eb..6771b551d 100644 --- a/samples/spring-data-jdbc/postgresql/pom.xml +++ b/samples/spring-data-jdbc/postgresql/pom.xml @@ -30,7 +30,7 @@ com.google.cloud google-cloud-spanner-bom - 6.100.0 + 6.101.1 import pom @@ -110,6 +110,19 @@ testlib test + + + net.bytebuddy + byte-buddy + 1.17.7 + test + + + net.bytebuddy + byte-buddy-agent + 1.17.7 + test + junit junit diff --git a/samples/spring-data-mybatis/googlesql/pom.xml b/samples/spring-data-mybatis/googlesql/pom.xml index b4aa07c1d..72002687d 100644 --- a/samples/spring-data-mybatis/googlesql/pom.xml +++ b/samples/spring-data-mybatis/googlesql/pom.xml @@ -35,7 +35,7 @@ com.google.cloud google-cloud-spanner-bom - 6.100.0 + 6.101.1 import pom From 275c6bd7f3f58b3f980e9ffaa576d1f910ecf08b Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 29 Sep 2025 07:18:28 +0100 Subject: [PATCH 04/20] deps: update dependency com.google.cloud:google-cloud-spanner to v6.101.1 (#2227) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-spanner](https://redirect.github.com/googleapis/java-spanner) | `6.100.0` -> `6.101.1` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.cloud:google-cloud-spanner/6.101.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.google.cloud:google-cloud-spanner/6.101.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.google.cloud:google-cloud-spanner/6.100.0/6.101.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.cloud:google-cloud-spanner/6.100.0/6.101.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-spanner (com.google.cloud:google-cloud-spanner) ### [`v6.101.1`](https://redirect.github.com/googleapis/java-spanner/blob/HEAD/CHANGELOG.md#61011-2025-09-26) [Compare Source](https://redirect.github.com/googleapis/java-spanner/compare/v6.101.0...v6.101.1) ##### Bug Fixes - Potential NullPointerException in LocalConnectionChecker ([#​4092](https://redirect.github.com/googleapis/java-spanner/issues/4092)) ([3b9f597](https://redirect.github.com/googleapis/java-spanner/commit/3b9f597ba60199a16556824568b24908ce938a69)) ### [`v6.101.0`](https://redirect.github.com/googleapis/java-spanner/blob/HEAD/CHANGELOG.md#61010-2025-09-26) [Compare Source](https://redirect.github.com/googleapis/java-spanner/compare/v6.100.0...v6.101.0) ##### Features - Add transaction\_timeout connection property ([#​4056](https://redirect.github.com/googleapis/java-spanner/issues/4056)) ([cdc52d4](https://redirect.github.com/googleapis/java-spanner/commit/cdc52d49b39c57e7255f4e09fb33a41f4810397d)) - TPC support ([#​4055](https://redirect.github.com/googleapis/java-spanner/issues/4055)) ([7625cce](https://redirect.github.com/googleapis/java-spanner/commit/7625cce9ad48b14a1cff9c2ede86a066ea292bef)) ##### Bug Fixes - **deps:** Update the Java code generator (gapic-generator-java) to 2.62.2 ([8d6cbf6](https://redirect.github.com/googleapis/java-spanner/commit/8d6cbf6bea9cbd823b8f0070516e34b4d8428e87)) - Potential NullPointerException in Value#hashCode ([#​4046](https://redirect.github.com/googleapis/java-spanner/issues/4046)) ([74abb34](https://redirect.github.com/googleapis/java-spanner/commit/74abb341e2ea42bbf0a2de4ec3e3555335b5fd9f)) - Recalculate remaining statement timeout after retry ([#​4053](https://redirect.github.com/googleapis/java-spanner/issues/4053)) ([5e26596](https://redirect.github.com/googleapis/java-spanner/commit/5e26596f4f9c924260da0908920854d8ddfc626b)) ##### Dependencies - Update dependency com.google.cloud:sdk-platform-java-config to v3.52.2 ([#​4057](https://redirect.github.com/googleapis/java-spanner/issues/4057)) ([d782aff](https://redirect.github.com/googleapis/java-spanner/commit/d782aff63ff81e1b760690d4dee3e566028d522e))
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/java-spanner-jdbc). --- samples/spring-data-mybatis/googlesql/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/spring-data-mybatis/googlesql/pom.xml b/samples/spring-data-mybatis/googlesql/pom.xml index 72002687d..e14577e30 100644 --- a/samples/spring-data-mybatis/googlesql/pom.xml +++ b/samples/spring-data-mybatis/googlesql/pom.xml @@ -94,7 +94,7 @@ com.google.cloud google-cloud-spanner - 6.100.0 + 6.101.1 test-jar test From 1add4a6b229dcf811b983163f04ce049d03d2483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Knut=20Olav=20L=C3=B8ite?= Date: Mon, 29 Sep 2025 08:42:28 +0200 Subject: [PATCH 05/20] chore: add ByteBuddy for tests for MyBatis sample (#2232) Adds the ByteBuddy dependency that is needed for some test workarounds for mTLS. --- samples/spring-data-mybatis/googlesql/pom.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/samples/spring-data-mybatis/googlesql/pom.xml b/samples/spring-data-mybatis/googlesql/pom.xml index e14577e30..d55124ddc 100644 --- a/samples/spring-data-mybatis/googlesql/pom.xml +++ b/samples/spring-data-mybatis/googlesql/pom.xml @@ -104,6 +104,19 @@ testlib test
+ + + net.bytebuddy + byte-buddy + 1.17.7 + test + + + net.bytebuddy + byte-buddy-agent + 1.17.7 + test + junit junit From 42326d9478ed6333a0a03ec0e01aa5fb0fab38ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Knut=20Olav=20L=C3=B8ite?= Date: Wed, 1 Oct 2025 17:28:53 +0200 Subject: [PATCH 06/20] test: add bytebuddy for mybatis pg tests (#2235) --- samples/spring-data-mybatis/postgresql/pom.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/samples/spring-data-mybatis/postgresql/pom.xml b/samples/spring-data-mybatis/postgresql/pom.xml index 5f2b06f55..be4efa846 100644 --- a/samples/spring-data-mybatis/postgresql/pom.xml +++ b/samples/spring-data-mybatis/postgresql/pom.xml @@ -101,6 +101,19 @@ testlib test + + + net.bytebuddy + byte-buddy + 1.17.7 + test + + + net.bytebuddy + byte-buddy-agent + 1.17.7 + test + junit junit From e86b68dc787eae3ad9c452115a0f14783bda3f0a Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 1 Oct 2025 16:40:28 +0100 Subject: [PATCH 07/20] build(deps): update dependency org.codehaus.mojo:exec-maven-plugin to v3.6.0 (#2234) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.codehaus.mojo:exec-maven-plugin](https://www.mojohaus.org/exec-maven-plugin) ([source](https://redirect.github.com/mojohaus/exec-maven-plugin)) | `3.5.1` -> `3.6.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.codehaus.mojo:exec-maven-plugin/3.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.codehaus.mojo:exec-maven-plugin/3.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.codehaus.mojo:exec-maven-plugin/3.5.1/3.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.codehaus.mojo:exec-maven-plugin/3.5.1/3.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
mojohaus/exec-maven-plugin (org.codehaus.mojo:exec-maven-plugin) ### [`v3.6.0`](https://redirect.github.com/mojohaus/exec-maven-plugin/releases/tag/3.6.0) [Compare Source](https://redirect.github.com/mojohaus/exec-maven-plugin/compare/3.5.1...3.6.0) #### πŸš€ New features and improvements - \[ExecMojo]Add `getShebang` method to correctly set the command line executable name ([#​487](https://redirect.github.com/mojohaus/exec-maven-plugin/pull/487)) [@​uchenily](https://redirect.github.com/uchenily) - JEP 512 Support ([#​484](https://redirect.github.com/mojohaus/exec-maven-plugin/pull/484)) [@​cayhorstmann](https://redirect.github.com/cayhorstmann) #### πŸ› Bug Fixes - fix inheritIo option ([#​488](https://redirect.github.com/mojohaus/exec-maven-plugin/pull/488)) [@​dernasherbrezon](https://redirect.github.com/dernasherbrezon) - Fix for [#​479](https://redirect.github.com/mojohaus/exec-maven-plugin/issues/479) - Wrong repositories used to collect deps ([#​480](https://redirect.github.com/mojohaus/exec-maven-plugin/pull/480)) [@​cstamas](https://redirect.github.com/cstamas) #### πŸ‘» Maintenance - Use JSR-330 for component injection ([#​493](https://redirect.github.com/mojohaus/exec-maven-plugin/pull/493)) [@​slawekjaranowski](https://redirect.github.com/slawekjaranowski) - Re-run failed tests ([#​491](https://redirect.github.com/mojohaus/exec-maven-plugin/pull/491)) [@​slawekjaranowski](https://redirect.github.com/slawekjaranowski) - Restore default matrix build ([#​486](https://redirect.github.com/mojohaus/exec-maven-plugin/pull/486)) [@​slawekjaranowski](https://redirect.github.com/slawekjaranowski) #### πŸ“¦ Dependency updates - Use Maven 3.9.11 in dependencies, still requires 3.6.3 as minimum ([#​492](https://redirect.github.com/mojohaus/exec-maven-plugin/pull/492)) [@​slawekjaranowski](https://redirect.github.com/slawekjaranowski) - Bump org.codehaus.mojo:mojo-parent from 92 to 93 ([#​483](https://redirect.github.com/mojohaus/exec-maven-plugin/pull/483)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - Bump org.codehaus.mojo:mojo-parent from 91 to 92 ([#​478](https://redirect.github.com/mojohaus/exec-maven-plugin/pull/478)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - Bump org.codehaus.mojo:mojo-parent from 90 to 91 ([#​477](https://redirect.github.com/mojohaus/exec-maven-plugin/pull/477)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - Bump org.codehaus.mojo:mojo-parent from 89 to 90 ([#​476](https://redirect.github.com/mojohaus/exec-maven-plugin/pull/476)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/java-spanner-jdbc). --- samples/quickperf/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/quickperf/pom.xml b/samples/quickperf/pom.xml index 1a79d8825..616f21a4e 100644 --- a/samples/quickperf/pom.xml +++ b/samples/quickperf/pom.xml @@ -95,7 +95,7 @@ org.codehaus.mojo exec-maven-plugin - 3.5.1 + 3.6.0 com.google.cloud.jdbc.quickperf.QuickPerf From ab8fcf9195b6d9f35530ff52df4f9a5c1fa962bb Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 1 Oct 2025 17:40:29 +0100 Subject: [PATCH 08/20] chore(deps): update dependency com.google.cloud:libraries-bom to v26.69.0 (#2233) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://redirect.github.com/googleapis/java-cloud-bom)) | `26.68.0` -> `26.69.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.cloud:libraries-bom/26.69.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.google.cloud:libraries-bom/26.69.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.google.cloud:libraries-bom/26.68.0/26.69.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.cloud:libraries-bom/26.68.0/26.69.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-cloud-bom (com.google.cloud:libraries-bom) ### [`v26.69.0`](https://redirect.github.com/googleapis/java-cloud-bom/blob/HEAD/CHANGELOG.md#26690-2025-09-29) [Compare Source](https://redirect.github.com/googleapis/java-cloud-bom/compare/v26.68.0...v26.69.0) ##### Dependencies - update dependency com.google.cloud:first-party-dependencies to v3.52.2 ([#​7203](https://redirect.github.com/googleapis/java-cloud-bom/issues/7203)) ([69d0348](https://redirect.github.com/googleapis/java-cloud-bom/commit/69d0348b464ad29da8a674eed6f864bb6094a404)) - update dependency com.google.cloud:gapic-libraries-bom to v1.69.0 ([#​7206](https://redirect.github.com/googleapis/java-cloud-bom/issues/7206)) ([9c8625b](https://redirect.github.com/googleapis/java-cloud-bom/commit/9c8625b0510b85a242be08976b2a572b3745a0be)) - update dependency com.google.cloud:google-cloud-bigquery to v2.55.1 ([#​7215](https://redirect.github.com/googleapis/java-cloud-bom/issues/7215)) ([4fac3db](https://redirect.github.com/googleapis/java-cloud-bom/commit/4fac3db38d5630a0916347b2d27432e20e139637)) - update dependency com.google.cloud:google-cloud-bigquerystorage-bom to v3.17.1 ([#​7211](https://redirect.github.com/googleapis/java-cloud-bom/issues/7211)) ([b544459](https://redirect.github.com/googleapis/java-cloud-bom/commit/b544459063342c9cb11c3ec52be065d93741f2cf)) - update dependency com.google.cloud:google-cloud-bigtable-bom to v2.67.0 ([#​7210](https://redirect.github.com/googleapis/java-cloud-bom/issues/7210)) ([bdbf6d0](https://redirect.github.com/googleapis/java-cloud-bom/commit/bdbf6d0e6f69f3018a4a63a5f29e9d0d1b990b08)) - update dependency com.google.cloud:google-cloud-datastore-bom to v2.32.1 ([#​7218](https://redirect.github.com/googleapis/java-cloud-bom/issues/7218)) ([1e9b8c7](https://redirect.github.com/googleapis/java-cloud-bom/commit/1e9b8c774809659b8223b9d9f45b5b66d833ced3)) - update dependency com.google.cloud:google-cloud-firestore-bom to v3.33.1 ([#​7208](https://redirect.github.com/googleapis/java-cloud-bom/issues/7208)) ([78cd5bc](https://redirect.github.com/googleapis/java-cloud-bom/commit/78cd5bcf49af7bd2ab9f138806e62efbb4f4f8b8)) - update dependency com.google.cloud:google-cloud-logging-bom to v3.23.5 ([#​7209](https://redirect.github.com/googleapis/java-cloud-bom/issues/7209)) ([ee2a334](https://redirect.github.com/googleapis/java-cloud-bom/commit/ee2a334e273abd2eeb3918f153438f59e641abb4)) - update dependency com.google.cloud:google-cloud-logging-logback to v0.132.16-alpha ([#​7212](https://redirect.github.com/googleapis/java-cloud-bom/issues/7212)) ([bce4761](https://redirect.github.com/googleapis/java-cloud-bom/commit/bce476175272b5e8d6e518387f3bc87cee8be38b)) - update dependency com.google.cloud:google-cloud-nio to v0.128.5 ([#​7204](https://redirect.github.com/googleapis/java-cloud-bom/issues/7204)) ([38ec3ff](https://redirect.github.com/googleapis/java-cloud-bom/commit/38ec3ff81ee4cb633db0e15b2bfc83edbb43548f)) - update dependency com.google.cloud:google-cloud-pubsub-bom to v1.141.5 ([#​7207](https://redirect.github.com/googleapis/java-cloud-bom/issues/7207)) ([e104b9c](https://redirect.github.com/googleapis/java-cloud-bom/commit/e104b9cc991c99a442cc2eeec23dfed1ada68238)) - update dependency com.google.cloud:google-cloud-pubsublite-bom to v1.15.16 ([#​7214](https://redirect.github.com/googleapis/java-cloud-bom/issues/7214)) ([a59bacc](https://redirect.github.com/googleapis/java-cloud-bom/commit/a59bacc8efaca290d161139fbc2576e2a7eb3d4e)) - update dependency com.google.cloud:google-cloud-spanner-bom to v6.101.1 ([#​7216](https://redirect.github.com/googleapis/java-cloud-bom/issues/7216)) ([a516b51](https://redirect.github.com/googleapis/java-cloud-bom/commit/a516b51ed648950fb42c50f7014662432b4696de)) - update dependency com.google.cloud:google-cloud-spanner-jdbc to v2.33.0 ([#​7217](https://redirect.github.com/googleapis/java-cloud-bom/issues/7217)) ([e3debca](https://redirect.github.com/googleapis/java-cloud-bom/commit/e3debca6846a209842cd691530f2558984c5358d)) - update dependency com.google.cloud:google-cloud-storage-bom to v2.58.0 ([#​7205](https://redirect.github.com/googleapis/java-cloud-bom/issues/7205)) ([98443be](https://redirect.github.com/googleapis/java-cloud-bom/commit/98443be61de9ffc94d8567255c9685dd60e1be46))
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/java-spanner-jdbc). --- samples/quickperf/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- samples/spring-data-jdbc/googlesql/pom.xml | 2 +- samples/spring-data-jdbc/postgresql/pom.xml | 2 +- samples/spring-data-mybatis/googlesql/pom.xml | 2 +- samples/spring-data-mybatis/postgresql/pom.xml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/samples/quickperf/pom.xml b/samples/quickperf/pom.xml index 616f21a4e..6a5185fda 100644 --- a/samples/quickperf/pom.xml +++ b/samples/quickperf/pom.xml @@ -27,7 +27,7 @@ com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index e82086db7..499dac6f9 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -26,7 +26,7 @@ com.google.cloud libraries-bom - 26.68.0 + 26.69.0 pom import diff --git a/samples/spring-data-jdbc/googlesql/pom.xml b/samples/spring-data-jdbc/googlesql/pom.xml index a1c00cc20..4cdb94895 100644 --- a/samples/spring-data-jdbc/googlesql/pom.xml +++ b/samples/spring-data-jdbc/googlesql/pom.xml @@ -37,7 +37,7 @@ com.google.cloud libraries-bom - 26.68.0 + 26.69.0 import pom diff --git a/samples/spring-data-jdbc/postgresql/pom.xml b/samples/spring-data-jdbc/postgresql/pom.xml index 6771b551d..2e0d47db4 100644 --- a/samples/spring-data-jdbc/postgresql/pom.xml +++ b/samples/spring-data-jdbc/postgresql/pom.xml @@ -37,7 +37,7 @@ com.google.cloud libraries-bom - 26.68.0 + 26.69.0 import pom diff --git a/samples/spring-data-mybatis/googlesql/pom.xml b/samples/spring-data-mybatis/googlesql/pom.xml index d55124ddc..0d1ff90f6 100644 --- a/samples/spring-data-mybatis/googlesql/pom.xml +++ b/samples/spring-data-mybatis/googlesql/pom.xml @@ -42,7 +42,7 @@ com.google.cloud libraries-bom - 26.68.0 + 26.69.0 import pom diff --git a/samples/spring-data-mybatis/postgresql/pom.xml b/samples/spring-data-mybatis/postgresql/pom.xml index be4efa846..b821d947e 100644 --- a/samples/spring-data-mybatis/postgresql/pom.xml +++ b/samples/spring-data-mybatis/postgresql/pom.xml @@ -35,7 +35,7 @@ com.google.cloud libraries-bom - 26.68.0 + 26.69.0 import pom From 9a44975e0ab7ca49514be1d9ea03e8e760a0f3bc Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 7 Oct 2025 05:33:35 +0100 Subject: [PATCH 09/20] deps: update dependency com.google.cloud:sdk-platform-java-config to v3.52.3 (#2236) --- .github/workflows/unmanaged_dependency_check.yaml | 2 +- .kokoro/presubmit/graalvm-native-a.cfg | 2 +- .kokoro/presubmit/graalvm-native-b.cfg | 2 +- .kokoro/presubmit/graalvm-native-c.cfg | 2 +- pom.xml | 2 +- samples/quickperf/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/unmanaged_dependency_check.yaml b/.github/workflows/unmanaged_dependency_check.yaml index 7394b52af..2cf303dc3 100644 --- a/.github/workflows/unmanaged_dependency_check.yaml +++ b/.github/workflows/unmanaged_dependency_check.yaml @@ -14,6 +14,6 @@ jobs: shell: bash run: .kokoro/build.sh - name: Unmanaged dependency check - uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.52.2 + uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.52.3 with: bom-path: pom.xml diff --git a/.kokoro/presubmit/graalvm-native-a.cfg b/.kokoro/presubmit/graalvm-native-a.cfg index 631631deb..85695810d 100644 --- a/.kokoro/presubmit/graalvm-native-a.cfg +++ b/.kokoro/presubmit/graalvm-native-a.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.52.2" + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.52.3" } env_vars: { diff --git a/.kokoro/presubmit/graalvm-native-b.cfg b/.kokoro/presubmit/graalvm-native-b.cfg index 16cf471b0..c2efdcebf 100644 --- a/.kokoro/presubmit/graalvm-native-b.cfg +++ b/.kokoro/presubmit/graalvm-native-b.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.52.2" + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.52.3" } env_vars: { diff --git a/.kokoro/presubmit/graalvm-native-c.cfg b/.kokoro/presubmit/graalvm-native-c.cfg index 5d2697122..20946e7b0 100644 --- a/.kokoro/presubmit/graalvm-native-c.cfg +++ b/.kokoro/presubmit/graalvm-native-c.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.52.2" + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.52.3" } env_vars: { diff --git a/pom.xml b/pom.xml index 17518a750..932e92a0d 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud sdk-platform-java-config - 3.52.2 + 3.52.3 diff --git a/samples/quickperf/pom.xml b/samples/quickperf/pom.xml index 6a5185fda..9a2e83c31 100644 --- a/samples/quickperf/pom.xml +++ b/samples/quickperf/pom.xml @@ -12,7 +12,7 @@ com.google.cloud sdk-platform-java-config - 3.52.2 + 3.52.3 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 499dac6f9..07c7ab457 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -9,7 +9,7 @@ com.google.cloud sdk-platform-java-config - 3.52.2 + 3.52.3 From 3f6163e86fe6d1099835a9358e868742adb3ae25 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 7 Oct 2025 05:36:28 +0100 Subject: [PATCH 10/20] build(deps): update dependency org.codehaus.mojo:exec-maven-plugin to v3.6.1 (#2237) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.codehaus.mojo:exec-maven-plugin](https://www.mojohaus.org/exec-maven-plugin) ([source](https://redirect.github.com/mojohaus/exec-maven-plugin)) | `3.6.0` -> `3.6.1` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.codehaus.mojo:exec-maven-plugin/3.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.codehaus.mojo:exec-maven-plugin/3.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.codehaus.mojo:exec-maven-plugin/3.6.0/3.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.codehaus.mojo:exec-maven-plugin/3.6.0/3.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
mojohaus/exec-maven-plugin (org.codehaus.mojo:exec-maven-plugin) ### [`v3.6.1`](https://redirect.github.com/mojohaus/exec-maven-plugin/releases/tag/3.6.1) [Compare Source](https://redirect.github.com/mojohaus/exec-maven-plugin/compare/3.6.0...3.6.1) ##### πŸ› Bug Fixes - Revert change from [#​480](https://redirect.github.com/mojohaus/exec-maven-plugin/issues/480) - plugin dependencies must be resolved from plugin repositories ([#​496](https://redirect.github.com/mojohaus/exec-maven-plugin/pull/496)) [@​slawekjaranowski](https://redirect.github.com/slawekjaranowski) ##### πŸ“¦ Dependency updates - Bump org.codehaus.mojo:mojo-parent from 93 to 94 ([#​495](https://redirect.github.com/mojohaus/exec-maven-plugin/pull/495)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/java-spanner-jdbc). --- samples/quickperf/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/quickperf/pom.xml b/samples/quickperf/pom.xml index 9a2e83c31..ca7335c4f 100644 --- a/samples/quickperf/pom.xml +++ b/samples/quickperf/pom.xml @@ -95,7 +95,7 @@ org.codehaus.mojo exec-maven-plugin - 3.6.0 + 3.6.1 com.google.cloud.jdbc.quickperf.QuickPerf From 0aa32a4b17a96adb1bfc274f5d313ecfd5803923 Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Tue, 7 Oct 2025 01:47:46 -0400 Subject: [PATCH 11/20] chore: add JDK 25 to the CI build (#2239) --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4dd9974f2..b9b8be0c3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,7 +25,7 @@ jobs: strategy: fail-fast: false matrix: - java: [11, 17, 21] + java: [11, 17, 21, 25] steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 From ff2432d46cd23df2230671297f06c8e6fca8f1d7 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 8 Oct 2025 15:38:12 +0100 Subject: [PATCH 12/20] deps: update dependency com.google.cloud:google-cloud-trace to v2.76.0 (#2241) --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 932e92a0d..0f5f21c77 100644 --- a/pom.xml +++ b/pom.xml @@ -216,7 +216,7 @@ com.google.cloud google-cloud-trace - 2.75.0 + 2.76.0 test From 442565ea8bf22ee926126fbd11a68a869b0772c7 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 8 Oct 2025 15:42:27 +0100 Subject: [PATCH 13/20] deps: update dependency com.google.api.grpc:proto-google-cloud-trace-v1 to v2.76.0 (#2240) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-cloud-trace-v1](https://redirect.github.com/googleapis/google-cloud-java) | `2.75.0` -> `2.76.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.api.grpc:proto-google-cloud-trace-v1/2.76.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.google.api.grpc:proto-google-cloud-trace-v1/2.76.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.google.api.grpc:proto-google-cloud-trace-v1/2.75.0/2.76.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.api.grpc:proto-google-cloud-trace-v1/2.75.0/2.76.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/java-spanner-jdbc). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 0f5f21c77..8bec03edf 100644 --- a/pom.xml +++ b/pom.xml @@ -222,7 +222,7 @@ com.google.api.grpc proto-google-cloud-trace-v1 - 2.75.0 + 2.76.0 test From f73bd27863650e9da56a2de005c3bfa001d36c2a Mon Sep 17 00:00:00 2001 From: Diego Marquez Date: Wed, 8 Oct 2025 14:35:33 -0400 Subject: [PATCH 14/20] chore: use credential-specific fromStream method (#2242) --- .../google/cloud/spanner/jdbc/JdbcDatabaseMetaDataTest.java | 6 +++--- .../com/google/cloud/spanner/jdbc/it/ITJdbcConnectTest.java | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/test/java/com/google/cloud/spanner/jdbc/JdbcDatabaseMetaDataTest.java b/src/test/java/com/google/cloud/spanner/jdbc/JdbcDatabaseMetaDataTest.java index 7dc4667e4..d5a429078 100644 --- a/src/test/java/com/google/cloud/spanner/jdbc/JdbcDatabaseMetaDataTest.java +++ b/src/test/java/com/google/cloud/spanner/jdbc/JdbcDatabaseMetaDataTest.java @@ -23,7 +23,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -import com.google.auth.oauth2.GoogleCredentials; +import com.google.auth.oauth2.ServiceAccountCredentials; import com.google.cloud.spanner.Dialect; import com.google.cloud.spanner.connection.ConnectionOptions; import com.google.cloud.spanner.connection.ConnectionOptionsTest; @@ -555,8 +555,8 @@ public void testGetVersionColumns() throws SQLException { @Test public void testGetUserName() throws SQLException, IOException { - GoogleCredentials credentials = - GoogleCredentials.fromStream( + ServiceAccountCredentials credentials = + ServiceAccountCredentials.fromStream( Objects.requireNonNull(ConnectionOptionsTest.class.getResource("test-key.json")) .openStream()); JdbcConnection connection = mock(JdbcConnection.class); diff --git a/src/test/java/com/google/cloud/spanner/jdbc/it/ITJdbcConnectTest.java b/src/test/java/com/google/cloud/spanner/jdbc/it/ITJdbcConnectTest.java index b42e81e5e..92e590e16 100644 --- a/src/test/java/com/google/cloud/spanner/jdbc/it/ITJdbcConnectTest.java +++ b/src/test/java/com/google/cloud/spanner/jdbc/it/ITJdbcConnectTest.java @@ -20,6 +20,7 @@ import com.google.auth.oauth2.AccessToken; import com.google.auth.oauth2.GoogleCredentials; +import com.google.auth.oauth2.ServiceAccountCredentials; import com.google.cloud.spanner.Database; import com.google.cloud.spanner.Dialect; import com.google.cloud.spanner.ParallelIntegrationTest; @@ -230,7 +231,8 @@ public void testConnectWithDataSourceWithConflictingValues() throws SQLException public void testConnectWithOAuthToken() throws Exception { GoogleCredentials credentials; if (hasValidKeyFile()) { - credentials = GoogleCredentials.fromStream(Files.newInputStream(Paths.get(getKeyFile()))); + credentials = + ServiceAccountCredentials.fromStream(Files.newInputStream(Paths.get(getKeyFile()))); } else { try { credentials = GoogleCredentials.getApplicationDefault(); From ca243d194ef392d44cea561a148c0376b9af630d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Knut=20Olav=20L=C3=B8ite?= Date: Thu, 9 Oct 2025 07:13:37 +0200 Subject: [PATCH 15/20] docs: add samples for transaction isolation level (#2030) * docs: add samples for transaction isolation level * docs: update README and latency guide --- README.md | 1 + documentation/latency-debugging-guide.md | 37 +++++++ .../example/spanner/jdbc/IsolationLevel.java | 73 ++++++++++++++ .../spanner/jdbc/IsolationLevelTest.java | 97 +++++++++++++++++++ .../jdbc/JdbcTransactionOptionsTest.java | 64 ++++++++++++ 5 files changed, 272 insertions(+) create mode 100644 samples/snippets/src/main/java/com/example/spanner/jdbc/IsolationLevel.java create mode 100644 samples/snippets/src/test/java/com/example/spanner/jdbc/IsolationLevelTest.java diff --git a/README.md b/README.md index 61b3d5cb2..bde34a69e 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,7 @@ See [Supported Connection Properties](documentation/connection_properties.md) fo supported connection properties. #### Commonly Used Properties +- default_isolation_level (String): Spanner supports isolation levels REPEATABLE_READ or SERIALIZABLE. SERIALIZABLE is the default. Using isolation level REPEATABLE_READ improves performance by reducing the amount of locks that are taken by transactions that execute a large number of queries in read/write transactions. See https://cloud.google.com/spanner/docs/isolation-levels for more information on the supported isolation levels in Spanner. - credentials (String): URL for the credentials file to use for the connection. If you do not specify any credentials at all, the default credentials of the environment as returned by `GoogleCredentials#getApplicationDefault()` is used. Example: `jdbc:cloudspanner:/projects/my-project/instances/my-instance/databases/my-db;credentials=/path/to/credentials.json` - autocommit (boolean): Sets the initial autocommit mode for the connection. Default is true. - readonly (boolean): Sets the initial readonly mode for the connection. Default is false. diff --git a/documentation/latency-debugging-guide.md b/documentation/latency-debugging-guide.md index cdcfec826..0d2084c3f 100644 --- a/documentation/latency-debugging-guide.md +++ b/documentation/latency-debugging-guide.md @@ -5,6 +5,43 @@ queries and transactions and to determine whether transactions or requests are b addition, all metrics described in [Latency points in a Spanner request](https://cloud.google.com/spanner/docs/latency-points) are also collected by the JDBC driver and can be used for debugging. +## Isolation Level + +A common reason for high latency in read/write transactions is lock contention. Spanner by default +uses isolation level `SERIALIZABLE`. This causes all queries in read/write transactions to take +locks for all rows that are scanned by a query. Using isolation level `REPEATABLE_READ` reduces the +number of locks that are taken during a read/write transaction, and can significantly improve +performance for applications that execute many and/or large queries in read/write transactions. + +Enable isolation level `REPEATABLE_READ` by default for all transactions that are executed by the +JDBC driver by setting the `default_isolation_level` connection property like this in the connection +URL: + +```java +String projectId = "my-project"; +String instanceId = "my-instance"; +String databaseId = "my-database"; +String isolationLevel = "REPEATABLE_READ"; + +try (Connection connection = + DriverManager.getConnection( + String.format( + "jdbc:cloudspanner:/projects/%s/instances/%s/databases/%s?default_isolation_level=%s", + projectId, instanceId, databaseId, isolationLevel))) { + try (Statement statement = connection.createStatement()) { + try (ResultSet rs = statement.executeQuery("SELECT CURRENT_TIMESTAMP()")) { + while (rs.next()) { + System.out.printf( + "Connected to Cloud Spanner at [%s]%n", rs.getTimestamp(1).toString()); + } + } + } +} +``` + +See https://cloud.google.com/spanner/docs/isolation-levels for more information on the supported +isolation levels in Spanner. + ## Configuration You can configure the OpenTelemetry instance that should be used in two ways: diff --git a/samples/snippets/src/main/java/com/example/spanner/jdbc/IsolationLevel.java b/samples/snippets/src/main/java/com/example/spanner/jdbc/IsolationLevel.java new file mode 100644 index 000000000..7153b7c7a --- /dev/null +++ b/samples/snippets/src/main/java/com/example/spanner/jdbc/IsolationLevel.java @@ -0,0 +1,73 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.spanner.jdbc; + +import java.sql.Connection; +import java.sql.DriverManager; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.util.Properties; + +final class IsolationLevel { + + static void isolationLevel( + final String project, + final String instance, + final String database, + final Properties properties) + throws SQLException { + String url = String.format( + "jdbc:cloudspanner:/projects/%s/instances/%s/databases/%s", + project, instance, database); + try (Connection connection = DriverManager.getConnection(url, properties)) { + connection.setAutoCommit(false); + + // Spanner supports setting the isolation level to: + // 1. TRANSACTION_SERIALIZABLE (this is the default) + // 2. TRANSACTION_REPEATABLE_READ + + // The following line sets the default isolation level that will be used + // for all read/write transactions on this connection. + connection.setTransactionIsolation( + Connection.TRANSACTION_REPEATABLE_READ); + + // This query will not take any locks when using + // isolation level repeatable read. + try (ResultSet resultSet = connection + .createStatement() + .executeQuery("SELECT SingerId, Active " + + "FROM Singers " + + "ORDER BY LastName")) { + while (resultSet.next()) { + try (PreparedStatement statement = connection.prepareStatement( + "INSERT OR UPDATE INTO SingerHistory " + + "(SingerId, Active, CreatedAt) " + + "VALUES (?, ?, CURRENT_TIMESTAMP)")) { + statement.setLong(1, resultSet.getLong(1)); + statement.setBoolean(2, resultSet.getBoolean(2)); + statement.executeUpdate(); + } + } + } + connection.commit(); + } + } + + private IsolationLevel() { + } +} diff --git a/samples/snippets/src/test/java/com/example/spanner/jdbc/IsolationLevelTest.java b/samples/snippets/src/test/java/com/example/spanner/jdbc/IsolationLevelTest.java new file mode 100644 index 000000000..e1c7bfbe0 --- /dev/null +++ b/samples/snippets/src/test/java/com/example/spanner/jdbc/IsolationLevelTest.java @@ -0,0 +1,97 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.example.spanner.jdbc; + +import static com.example.spanner.jdbc.IsolationLevel.isolationLevel; +import static org.junit.Assume.assumeTrue; + +import java.sql.Connection; +import java.sql.DriverManager; +import java.sql.SQLException; +import java.sql.Statement; +import java.util.Properties; +import org.junit.AfterClass; +import org.junit.BeforeClass; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; +import org.testcontainers.DockerClientFactory; +import org.testcontainers.containers.GenericContainer; +import org.testcontainers.containers.wait.strategy.Wait; +import org.testcontainers.images.PullPolicy; +import org.testcontainers.utility.DockerImageName; + +@RunWith(JUnit4.class) +public class IsolationLevelTest { + + private static GenericContainer emulator; + + private static final String PROJECT = "emulator-project"; + private static final String INSTANCE = "my-instance"; + private static final String DATABASE = "my-database"; + private static final Properties PROPERTIES = new Properties(); + + @BeforeClass + public static void setupEmulator() throws Exception { + assumeTrue("This test requires Docker", DockerClientFactory.instance().isDockerAvailable()); + + emulator = + new GenericContainer<>(DockerImageName.parse("gcr.io/cloud-spanner-emulator/emulator")); + emulator.withImagePullPolicy(PullPolicy.alwaysPull()); + emulator.addExposedPort(9010); + emulator.setWaitStrategy(Wait.forListeningPorts(9010)); + emulator.start(); + + PROPERTIES.setProperty("endpoint", + String.format("localhost:%d", emulator.getMappedPort(9010))); + PROPERTIES.setProperty("autoConfigEmulator", "true"); + + String url = String.format( + "jdbc:cloudspanner:/projects/%s/instances/%s/databases/%s", + PROJECT, INSTANCE, DATABASE); + try (Connection connection = DriverManager.getConnection(url, PROPERTIES)) { + try (Statement statement = connection.createStatement()) { + statement.addBatch( + "CREATE TABLE Singers (" + + "SingerId INT64 PRIMARY KEY, " + + "FirstName STRING(MAX), " + + "LastName STRING(MAX), " + + "Active BOOL)"); + statement.addBatch( + "CREATE TABLE SingerHistory (" + + "SingerId INT64, " + + "Active BOOL, " + + "CreatedAt TIMESTAMP) " + + "PRIMARY KEY (SingerId, CreatedAt)"); + statement.executeBatch(); + } + } + } + + @AfterClass + public static void stopEmulator() { + if (emulator != null) { + emulator.stop(); + } + } + + @Test + public void testIsolationLevel() throws SQLException { + isolationLevel("emulator-project", "my-instance", "my-database", PROPERTIES); + } + +} diff --git a/src/test/java/com/google/cloud/spanner/jdbc/JdbcTransactionOptionsTest.java b/src/test/java/com/google/cloud/spanner/jdbc/JdbcTransactionOptionsTest.java index a34e449e7..8a5af27c0 100644 --- a/src/test/java/com/google/cloud/spanner/jdbc/JdbcTransactionOptionsTest.java +++ b/src/test/java/com/google/cloud/spanner/jdbc/JdbcTransactionOptionsTest.java @@ -27,10 +27,15 @@ import com.google.cloud.spanner.connection.AbstractMockServerTest; import com.google.cloud.spanner.connection.SpannerPool; import com.google.spanner.v1.CommitRequest; +import com.google.spanner.v1.ExecuteSqlRequest; +import com.google.spanner.v1.TransactionOptions.IsolationLevel; +import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.time.Duration; +import java.util.Arrays; +import java.util.stream.Collectors; import org.junit.After; import org.junit.Test; import org.junit.runner.RunWith; @@ -138,4 +143,63 @@ public void testMaxCommitDelay() throws SQLException { assertEquals(Duration.ofMillis(50).toNanos(), request.getMaxCommitDelay().getNanos()); } } + + @Test + public void testDefaultIsolationLevel() throws SQLException { + for (IsolationLevel isolationLevel : + Arrays.stream(IsolationLevel.values()) + .filter(level -> !level.equals(IsolationLevel.UNRECOGNIZED)) + .collect(Collectors.toList())) { + try (java.sql.Connection connection = + DriverManager.getConnection( + "jdbc:" + getBaseUrl() + ";default_isolation_level=" + isolationLevel.name())) { + connection.setAutoCommit(false); + try (ResultSet resultSet = + connection.createStatement().executeQuery(SELECT1_STATEMENT.getSql())) { + while (resultSet.next()) { + // ignore + } + } + connection.commit(); + assertEquals(1, mockSpanner.countRequestsOfType(ExecuteSqlRequest.class)); + ExecuteSqlRequest request = mockSpanner.getRequestsOfType(ExecuteSqlRequest.class).get(0); + assertTrue(request.hasTransaction()); + assertTrue(request.getTransaction().hasBegin()); + assertTrue(request.getTransaction().getBegin().hasReadWrite()); + assertEquals(isolationLevel, request.getTransaction().getBegin().getIsolationLevel()); + assertEquals(1, mockSpanner.countRequestsOfType(CommitRequest.class)); + + mockSpanner.clearRequests(); + } + } + } + + @Test + public void testSetIsolationLevel() throws SQLException { + try (java.sql.Connection connection = createJdbcConnection()) { + connection.setAutoCommit(false); + for (int isolationLevel : + new int[] {Connection.TRANSACTION_REPEATABLE_READ, Connection.TRANSACTION_SERIALIZABLE}) { + connection.setTransactionIsolation(isolationLevel); + try (ResultSet resultSet = + connection.createStatement().executeQuery(SELECT1_STATEMENT.getSql())) { + while (resultSet.next()) { + // ignore + } + } + connection.commit(); + assertEquals(1, mockSpanner.countRequestsOfType(ExecuteSqlRequest.class)); + ExecuteSqlRequest request = mockSpanner.getRequestsOfType(ExecuteSqlRequest.class).get(0); + assertTrue(request.hasTransaction()); + assertTrue(request.getTransaction().hasBegin()); + assertTrue(request.getTransaction().getBegin().hasReadWrite()); + assertEquals( + IsolationLevelConverter.convertToSpanner(isolationLevel), + request.getTransaction().getBegin().getIsolationLevel()); + assertEquals(1, mockSpanner.countRequestsOfType(CommitRequest.class)); + + mockSpanner.clearRequests(); + } + } + } } From 7162ac236a77c24b4f0faccefa2cf3bdee6b96ab Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 9 Oct 2025 07:47:06 +0100 Subject: [PATCH 16/20] deps: update dependency com.google.cloud:google-cloud-spanner-bom to v6.102.0 (#2246) --- pom.xml | 2 +- samples/spring-data-jdbc/googlesql/pom.xml | 2 +- samples/spring-data-jdbc/postgresql/pom.xml | 2 +- samples/spring-data-mybatis/googlesql/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 8bec03edf..aa0088bff 100644 --- a/pom.xml +++ b/pom.xml @@ -61,7 +61,7 @@ com.google.cloud google-cloud-spanner-bom - 6.101.1 + 6.102.0 pom import diff --git a/samples/spring-data-jdbc/googlesql/pom.xml b/samples/spring-data-jdbc/googlesql/pom.xml index 4cdb94895..be86aa508 100644 --- a/samples/spring-data-jdbc/googlesql/pom.xml +++ b/samples/spring-data-jdbc/googlesql/pom.xml @@ -30,7 +30,7 @@ com.google.cloud google-cloud-spanner-bom - 6.101.1 + 6.102.0 import pom diff --git a/samples/spring-data-jdbc/postgresql/pom.xml b/samples/spring-data-jdbc/postgresql/pom.xml index 2e0d47db4..ea86e1729 100644 --- a/samples/spring-data-jdbc/postgresql/pom.xml +++ b/samples/spring-data-jdbc/postgresql/pom.xml @@ -30,7 +30,7 @@ com.google.cloud google-cloud-spanner-bom - 6.101.1 + 6.102.0 import pom diff --git a/samples/spring-data-mybatis/googlesql/pom.xml b/samples/spring-data-mybatis/googlesql/pom.xml index 0d1ff90f6..5549554e9 100644 --- a/samples/spring-data-mybatis/googlesql/pom.xml +++ b/samples/spring-data-mybatis/googlesql/pom.xml @@ -35,7 +35,7 @@ com.google.cloud google-cloud-spanner-bom - 6.101.1 + 6.102.0 import pom From 60a3a8f0fcf86742128f8803ee3297670b713923 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 9 Oct 2025 07:47:20 +0100 Subject: [PATCH 17/20] deps: update dependency net.bytebuddy:byte-buddy to v1.17.8 (#2245) --- samples/spring-data-jdbc/postgresql/pom.xml | 2 +- samples/spring-data-mybatis/googlesql/pom.xml | 2 +- samples/spring-data-mybatis/postgresql/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/spring-data-jdbc/postgresql/pom.xml b/samples/spring-data-jdbc/postgresql/pom.xml index ea86e1729..ddf8babe0 100644 --- a/samples/spring-data-jdbc/postgresql/pom.xml +++ b/samples/spring-data-jdbc/postgresql/pom.xml @@ -114,7 +114,7 @@ net.bytebuddy byte-buddy - 1.17.7 + 1.17.8 test diff --git a/samples/spring-data-mybatis/googlesql/pom.xml b/samples/spring-data-mybatis/googlesql/pom.xml index 5549554e9..f38b11377 100644 --- a/samples/spring-data-mybatis/googlesql/pom.xml +++ b/samples/spring-data-mybatis/googlesql/pom.xml @@ -108,7 +108,7 @@ net.bytebuddy byte-buddy - 1.17.7 + 1.17.8 test diff --git a/samples/spring-data-mybatis/postgresql/pom.xml b/samples/spring-data-mybatis/postgresql/pom.xml index b821d947e..6828c1626 100644 --- a/samples/spring-data-mybatis/postgresql/pom.xml +++ b/samples/spring-data-mybatis/postgresql/pom.xml @@ -105,7 +105,7 @@ net.bytebuddy byte-buddy - 1.17.7 + 1.17.8 test From 383a39222c7526163323575734c8473a34d4098d Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 9 Oct 2025 09:05:34 +0100 Subject: [PATCH 18/20] deps: update dependency com.google.cloud:google-cloud-spanner to v6.102.0 (#2244) --- samples/spring-data-mybatis/googlesql/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/spring-data-mybatis/googlesql/pom.xml b/samples/spring-data-mybatis/googlesql/pom.xml index f38b11377..de982023f 100644 --- a/samples/spring-data-mybatis/googlesql/pom.xml +++ b/samples/spring-data-mybatis/googlesql/pom.xml @@ -94,7 +94,7 @@ com.google.cloud google-cloud-spanner - 6.101.1 + 6.102.0 test-jar test From 952c08afbf2f7838ad864b8bb58423e8b566d325 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 9 Oct 2025 09:05:54 +0100 Subject: [PATCH 19/20] deps: update dependency net.bytebuddy:byte-buddy-agent to v1.17.8 (#2243) --- samples/spring-data-jdbc/postgresql/pom.xml | 2 +- samples/spring-data-mybatis/googlesql/pom.xml | 2 +- samples/spring-data-mybatis/postgresql/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/spring-data-jdbc/postgresql/pom.xml b/samples/spring-data-jdbc/postgresql/pom.xml index ddf8babe0..b7305065b 100644 --- a/samples/spring-data-jdbc/postgresql/pom.xml +++ b/samples/spring-data-jdbc/postgresql/pom.xml @@ -120,7 +120,7 @@ net.bytebuddy byte-buddy-agent - 1.17.7 + 1.17.8 test diff --git a/samples/spring-data-mybatis/googlesql/pom.xml b/samples/spring-data-mybatis/googlesql/pom.xml index de982023f..0734042ae 100644 --- a/samples/spring-data-mybatis/googlesql/pom.xml +++ b/samples/spring-data-mybatis/googlesql/pom.xml @@ -114,7 +114,7 @@ net.bytebuddy byte-buddy-agent - 1.17.7 + 1.17.8 test diff --git a/samples/spring-data-mybatis/postgresql/pom.xml b/samples/spring-data-mybatis/postgresql/pom.xml index 6828c1626..449634a8a 100644 --- a/samples/spring-data-mybatis/postgresql/pom.xml +++ b/samples/spring-data-mybatis/postgresql/pom.xml @@ -111,7 +111,7 @@ net.bytebuddy byte-buddy-agent - 1.17.7 + 1.17.8 test From d8cf4d7ec7497d8bd0ff416e72cbbbd5a71c7e78 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 9 Oct 2025 11:06:03 +0200 Subject: [PATCH 20/20] chore(main): release 2.33.1 (#2231) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- CHANGELOG.md | 20 ++++++++++++++++++++ README.md | 6 +++--- pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- versions.txt | 2 +- 5 files changed, 26 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38f6d8d3f..d5fe61cbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## [2.33.1](https://github.com/googleapis/java-spanner-jdbc/compare/v2.33.0...v2.33.1) (2025-10-09) + + +### Dependencies + +* Update dependency com.google.api.grpc:proto-google-cloud-trace-v1 to v2.76.0 ([#2240](https://github.com/googleapis/java-spanner-jdbc/issues/2240)) ([442565e](https://github.com/googleapis/java-spanner-jdbc/commit/442565ea8bf22ee926126fbd11a68a869b0772c7)) +* Update dependency com.google.cloud:google-cloud-spanner to v6.101.1 ([#2227](https://github.com/googleapis/java-spanner-jdbc/issues/2227)) ([275c6bd](https://github.com/googleapis/java-spanner-jdbc/commit/275c6bd7f3f58b3f980e9ffaa576d1f910ecf08b)) +* Update dependency com.google.cloud:google-cloud-spanner to v6.102.0 ([#2244](https://github.com/googleapis/java-spanner-jdbc/issues/2244)) ([383a392](https://github.com/googleapis/java-spanner-jdbc/commit/383a39222c7526163323575734c8473a34d4098d)) +* Update dependency com.google.cloud:google-cloud-spanner-bom to v6.101.1 ([#2228](https://github.com/googleapis/java-spanner-jdbc/issues/2228)) ([ded7944](https://github.com/googleapis/java-spanner-jdbc/commit/ded79447b8ecd294e56560b43cb02e45464706f1)) +* Update dependency com.google.cloud:google-cloud-spanner-bom to v6.102.0 ([#2246](https://github.com/googleapis/java-spanner-jdbc/issues/2246)) ([7162ac2](https://github.com/googleapis/java-spanner-jdbc/commit/7162ac236a77c24b4f0faccefa2cf3bdee6b96ab)) +* Update dependency com.google.cloud:google-cloud-trace to v2.76.0 ([#2241](https://github.com/googleapis/java-spanner-jdbc/issues/2241)) ([ff2432d](https://github.com/googleapis/java-spanner-jdbc/commit/ff2432d46cd23df2230671297f06c8e6fca8f1d7)) +* Update dependency com.google.cloud:sdk-platform-java-config to v3.52.3 ([#2236](https://github.com/googleapis/java-spanner-jdbc/issues/2236)) ([9a44975](https://github.com/googleapis/java-spanner-jdbc/commit/9a44975e0ab7ca49514be1d9ea03e8e760a0f3bc)) +* Update dependency net.bytebuddy:byte-buddy to v1.17.8 ([#2245](https://github.com/googleapis/java-spanner-jdbc/issues/2245)) ([60a3a8f](https://github.com/googleapis/java-spanner-jdbc/commit/60a3a8f0fcf86742128f8803ee3297670b713923)) +* Update dependency net.bytebuddy:byte-buddy-agent to v1.17.8 ([#2243](https://github.com/googleapis/java-spanner-jdbc/issues/2243)) ([952c08a](https://github.com/googleapis/java-spanner-jdbc/commit/952c08afbf2f7838ad864b8bb58423e8b566d325)) + + +### Documentation + +* Add samples for transaction isolation level ([#2030](https://github.com/googleapis/java-spanner-jdbc/issues/2030)) ([ca243d1](https://github.com/googleapis/java-spanner-jdbc/commit/ca243d194ef392d44cea561a148c0376b9af630d)) + ## [2.33.0](https://github.com/googleapis/java-spanner-jdbc/compare/v2.32.3...v2.33.0) (2025-09-27) diff --git a/README.md b/README.md index bde34a69e..8fb6a054d 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-spanner-jdbc - 2.33.0 + 2.33.1 ``` @@ -30,7 +30,7 @@ If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-spanner-jdbc:2.33.0' +implementation 'com.google.cloud:google-cloud-spanner-jdbc:2.33.1' ``` @@ -38,7 +38,7 @@ If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-spanner-jdbc" % "2.33.0" +libraryDependencies += "com.google.cloud" % "google-cloud-spanner-jdbc" % "2.33.1" ``` diff --git a/pom.xml b/pom.xml index aa0088bff..fcd478ebb 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 google-cloud-spanner-jdbc - 2.33.1-SNAPSHOT + 2.33.1 jar Google Cloud Spanner JDBC https://github.com/googleapis/java-spanner-jdbc diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index e23e32c1a..46627619c 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-spanner-jdbc - 2.33.1-SNAPSHOT + 2.33.1 diff --git a/versions.txt b/versions.txt index 53ba1a2db..515f0d555 100644 --- a/versions.txt +++ b/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-spanner-jdbc:2.33.0:2.33.1-SNAPSHOT +google-cloud-spanner-jdbc:2.33.1:2.33.1