-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: fix references about other integrations in spanner doc #3413
Conversation
The original text says: > Other Google Cloud database-related integrations like Spanner and Firestore can introduce `PlatformTransactionManager` … However, the docs _are_ about Spanner integration.
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for noticing this!
docs/src/main/asciidoc/spanner.adoc
Outdated
@@ -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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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: |
* 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>
…3472) * 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: Viktors Garkavijs <45557691+progvb@users.noreply.github.com>
The original text says:
However, the docs are about Spanner integration.