Skip to content

Commit

Permalink
docs: fix references about other integrations in spanner doc (#3413)
Browse files Browse the repository at this point in the history
* docs: fix references about other integrations (#1)

The original text says:

> Other Google Cloud database-related integrations like Spanner and Firestore can introduce `PlatformTransactionManager` …

However, the docs _are_ about Spanner integration.

* add Datastore to text as other Google Cloud database-related integrations.

---------

Co-authored-by: Min Zhu <zhumin@google.com>
  • Loading branch information
progvb and zhumin8 authored Jan 15, 2025
1 parent 86d61ad commit 1e99a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/spanner.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ This feature requires a bean of `SpannerTransactionManager`, which is provided w
If a method annotated with `@Transactional` calls another method also annotated, then both methods will work within the same transaction.
`performReadOnlyTransaction` and `performReadWriteTransaction` cannot be used in `@Transactional` annotated methods because Cloud Spanner does not support transactions within transactions.

Other Google Cloud database-related integrations like Spanner and Firestore can introduce `PlatformTransactionManager` beans, and can interfere with Datastore Transaction Manager. To disambiguate, explicitly specify the name of the transaction manager bean for such `@Transactional` methods. Example:
Other Google Cloud database-related integrations like Datastore and Firestore can introduce `PlatformTransactionManager` beans, and can interfere with Spanner Transaction Manager. To disambiguate, explicitly specify the name of the transaction manager bean for such `@Transactional` methods. Example:

[source,java]
----
Expand Down

0 comments on commit 1e99a52

Please sign in to comment.