Skip to content

Commit

Permalink
add Datastore to text as other Google Cloud database-related integrat…
Browse files Browse the repository at this point in the history
…ions.
  • Loading branch information
zhumin8 committed Jan 15, 2025
1 parent f2d7e4a commit 3c889ba
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 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:
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 3c889ba

Please sign in to comment.