Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/java-spanner-jdbc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.17.1
Choose a base ref
...
head repository: googleapis/java-spanner-jdbc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.18.0
Choose a head ref
  • 10 commits
  • 15 files changed
  • 3 contributors

Commits on May 1, 2024

  1. chore(main): release 2.17.2-SNAPSHOT (#1592)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    release-please[bot] authored May 1, 2024
    Configuration menu
    Copy the full SHA
    c5abf2c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c27fb58 View commit details
    Browse the repository at this point in the history
  3. chore(deps): update dependency com.google.cloud:google-cloud-spanner-…

    …jdbc to v2.17.1 (#1593)
    
    [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [com.google.cloud:google-cloud-spanner-jdbc](https://togithub.com/googleapis/java-spanner-jdbc) | `2.17.0` -> `2.17.1` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.cloud:google-cloud-spanner-jdbc/2.17.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-jdbc/2.17.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-jdbc/2.17.0/2.17.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-jdbc/2.17.0/2.17.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>googleapis/java-spanner-jdbc (com.google.cloud:google-cloud-spanner-jdbc)</summary>
    
    ### [`v2.17.1`](https://togithub.com/googleapis/java-spanner-jdbc/blob/HEAD/CHANGELOG.md#2171-2024-04-30)
    
    [Compare Source](https://togithub.com/googleapis/java-spanner-jdbc/compare/v2.17.0...v2.17.1)
    
    ##### Dependencies
    
    -   Update dependency com.google.cloud:google-cloud-spanner-bom to v6.65.1 ([#&#8203;1588](https://togithub.com/googleapis/java-spanner-jdbc/issues/1588)) ([1b1218a](https://togithub.com/googleapis/java-spanner-jdbc/commit/1b1218adaa25ecec3def66b7031c7f0e5e8c23b0))
    
    </details>
    
    ---
    
    ### 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.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
    
    ---
    
    This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/googleapis/java-spanner-jdbc).
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMzEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
    renovate-bot authored May 1, 2024
    Configuration menu
    Copy the full SHA
    a303867 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Configuration menu
    Copy the full SHA
    40a7212 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f54beb2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e96a86a View commit details
    Browse the repository at this point in the history

Commits on May 4, 2024

  1. deps: update dependency com.google.cloud:google-cloud-spanner-bom to …

    …v6.66.0 (#1599)
    
    [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [com.google.cloud:google-cloud-spanner-bom](https://togithub.com/googleapis/java-spanner) | `6.65.1` -> `6.66.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.cloud:google-cloud-spanner-bom/6.66.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-bom/6.66.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-bom/6.65.1/6.66.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-bom/6.65.1/6.66.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>googleapis/java-spanner (com.google.cloud:google-cloud-spanner-bom)</summary>
    
    ### [`v6.66.0`](https://togithub.com/googleapis/java-spanner/blob/HEAD/CHANGELOG.md#6660-2024-05-03)
    
    [Compare Source](https://togithub.com/googleapis/java-spanner/compare/v6.65.1...v6.66.0)
    
    ##### Features
    
    -   Allow DDL with autocommit=false ([#&#8203;3057](https://togithub.com/googleapis/java-spanner/issues/3057)) ([22833ac](https://togithub.com/googleapis/java-spanner/commit/22833acf9f073271ce0ee10f2b496f3a1d39566a))
    -   Include stack trace of checked out sessions in exception ([#&#8203;3092](https://togithub.com/googleapis/java-spanner/issues/3092)) ([ba6a0f6](https://togithub.com/googleapis/java-spanner/commit/ba6a0f644b6caa4d2f3aa130c6061341b70957dd))
    
    ##### Bug Fixes
    
    -   Multiplexed session metrics were not included in refactor move ([#&#8203;3088](https://togithub.com/googleapis/java-spanner/issues/3088)) ([f3589c4](https://togithub.com/googleapis/java-spanner/commit/f3589c430b0e84933a91008bb306c26089788357))
    
    ##### Dependencies
    
    -   Update dependency com.google.cloud:sdk-platform-java-config to v3.30.0 ([#&#8203;3082](https://togithub.com/googleapis/java-spanner/issues/3082)) ([ddfc98e](https://togithub.com/googleapis/java-spanner/commit/ddfc98e240fb47ef51075ba4461bf9a98aa25ce0))
    
    </details>
    
    ---
    
    ### 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.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
    
    ---
    
    This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/googleapis/java-spanner-jdbc).
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMzEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
    renovate-bot authored May 4, 2024
    Configuration menu
    Copy the full SHA
    84ea11a View commit details
    Browse the repository at this point in the history
  2. feat: allow DDL with autocommit=false (#1600)

    Adds support for running DDL statements when a connection is in autocommit=false mode. By default, DDL statements are only allowed when no transaction is active. That is; no query or DML statement has been executed which activated a read/write transaction.
    
    A new flag is added that can be used to revert the behavior back to the original behavior where DDL is always refused when autocommit=false. The same flag can also be used to make the API behave the same as MySQL and Oracle, where any active transaction is automatically committed whenever a DDL statement is encountered.
    
    Concretely this means that the following is now allowed:
    
    ```
    set autocommit=false;
    create table Singers (SingerId INT64, Name STRING(MAX)) PRIMARY KEY (SingerId);
    ```
    
    The following is by default NOT allowed, unless
    ddlInTransactionMode=AUTO_COMMIT_TRANSACTION
    
    ```
    set autocommit=false;
    select * from singers; -- This starts a transaction
    create table Albums (AlbumId INT64) PRIMARY KEY (AlbumId); -- This is not allowed
    ```
    olavloite authored May 4, 2024
    Configuration menu
    Copy the full SHA
    a61c25d View commit details
    Browse the repository at this point in the history
  3. feat: support concurrent transactions on the emulator (#1601)

    Adds support for overlapping transactions on the emulator in the Connection API, even when these are executed on one thread. This is normally not supported, as it requires multiple transactions to run concurrently on the emulator.
    
    This change works around that by keeping track of what the active transaction on the emulator is, and then abort that transaction when another transaction needs to make progress. The transaction that was aborted will be retried up to the point where it was when it again wants to make progress.
    
    This step-by-step progress is implemented by automatically setting a savepoint in the transaction after each successful step. The transaction is then rolled back to that savepoint when another transaction needs to make progress.
    
    The feature is only enabled if the autoConfigEmulator flag is enabled.
    olavloite authored May 4, 2024
    Configuration menu
    Copy the full SHA
    7123991 View commit details
    Browse the repository at this point in the history
  4. chore(main): release 2.18.0 (#1598)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ## [2.18.0](https://togithub.com/googleapis/java-spanner-jdbc/compare/v2.17.1...v2.18.0) (2024-05-04)
    
    
    ### Features
    
    * Allow DDL with autocommit=false ([#1600](https://togithub.com/googleapis/java-spanner-jdbc/issues/1600)) ([a61c25d](https://togithub.com/googleapis/java-spanner-jdbc/commit/a61c25d8f90460ec507b383dbaee0ca686104ba8))
    * Support concurrent transactions on the emulator ([#1601](https://togithub.com/googleapis/java-spanner-jdbc/issues/1601)) ([7123991](https://togithub.com/googleapis/java-spanner-jdbc/commit/71239912a8078569dcd985314810131e593c0ed7))
    
    
    ### Bug Fixes
    
    * ClassCastException in Spring Data JDBC sample ([#1595](https://togithub.com/googleapis/java-spanner-jdbc/issues/1595)) ([e96a86a](https://togithub.com/googleapis/java-spanner-jdbc/commit/e96a86a4b82ac4b47bd1ce25e810f01299597339))
    
    
    ### Dependencies
    
    * Update dependency com.google.cloud:google-cloud-spanner-bom to v6.66.0 ([#1599](https://togithub.com/googleapis/java-spanner-jdbc/issues/1599)) ([84ea11a](https://togithub.com/googleapis/java-spanner-jdbc/commit/84ea11ac27635dbe6fb101134767d14488dde8c2))
    * Update dependency com.google.cloud:sdk-platform-java-config to v3.30.0 ([#1597](https://togithub.com/googleapis/java-spanner-jdbc/issues/1597)) ([40a7212](https://togithub.com/googleapis/java-spanner-jdbc/commit/40a721237c79882e55d86d48402c64cc09782522))
    * Update dependency org.mybatis.dynamic-sql:mybatis-dynamic-sql to v1.5.1 ([#1596](https://togithub.com/googleapis/java-spanner-jdbc/issues/1596)) ([f54beb2](https://togithub.com/googleapis/java-spanner-jdbc/commit/f54beb20d6bbe3f4974385c4758ba77d31d25ce3))
    
    ---
    This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
    release-please[bot] authored May 4, 2024
    Configuration menu
    Copy the full SHA
    ba0aa41 View commit details
    Browse the repository at this point in the history
Loading