Skip to content

Commit

Permalink
docs: fix references about other integrations (#1)
Browse files Browse the repository at this point in the history
The original text says:

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

However, the docs _are_ about Spanner integration.
  • Loading branch information
progvb authored Dec 10, 2024
1 parent 765975d commit f2d7e4a
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 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 f2d7e4a

Please sign in to comment.