We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 556a2c5 commit d814755Copy full SHA for d814755
google-cloud-spanner/src/main/java/com/google/cloud/spanner/connection/ConnectionImpl.java
@@ -340,6 +340,9 @@ static UnitOfWorkType of(TransactionMode transactionMode) {
340
if (clientIdString != null && !clientIdString.isEmpty()) {
341
tempDbClient = spanner.getDatabaseClient(options.getDatabaseId(), clientIdString);
342
}
343
+ else {
344
+ tempDbClient = spanner.getDatabaseClient(options.getDatabaseId());
345
+ }
346
} else {
347
tempDbClient = spanner.getDatabaseClient(options.getDatabaseId());
348
0 commit comments