diff --git a/src/main/java/com/google/cloud/spanner/jdbc/JdbcDriver.java b/src/main/java/com/google/cloud/spanner/jdbc/JdbcDriver.java index 54d699b65..cdefb7363 100644 --- a/src/main/java/com/google/cloud/spanner/jdbc/JdbcDriver.java +++ b/src/main/java/com/google/cloud/spanner/jdbc/JdbcDriver.java @@ -84,6 +84,13 @@ * instance and database in the connection string will automatically be created if these do * not yet exist on the emulator. This means that you do not need to execute any `gcloud` * commands on the emulator to create the instance and database before you can connect to it. + * Setting this property to true also enables running concurrent transactions on the emulator. + * The emulator aborts any concurrent transaction on the emulator, and the JDBC driver works + * around this by automatically setting a savepoint after each statement that is executed. + * When the transaction has been aborted by the emulator and the JDBC connection wants to + * continue with that transaction, the transaction is replayed up until the savepoint that had + * automatically been set after the last statement that was executed before the transaction + * was aborted by the emulator. *
  • endpoint (string): Set this property to specify a custom endpoint that the JDBC driver * should connect to. You can use this property in combination with the autoConfigEmulator * property to instruct the JDBC driver to connect to an emulator instance that uses a