-
Notifications
You must be signed in to change notification settings - Fork 536
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
Update multipleDatasources.adoc #888
Conversation
As in org.grails.plugins.datasource.DataSourceGrailsPlugin, configuration name is `grails.transaction.chainedTransactionManager`.
Please sign the CLA. |
I did, when I clicked again on "CLA not signed yet" I got "You have agreed to the CLA for grails/grails-doc" |
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.
Good catch! There are actually two more places where chainedTransactionManagerPostProcessor
should be changed.
You can enable Grails to use the Best Effort 1PC pattern for handling transactions across multiple datasources. To do so you must set the `grails.transaction.chainedTransactionManagerPostProcessor.enabled` setting to `true` in `application.yml`: |
chainedTransactionManagerPostProcessor: |
Would you mind changing these as well in this PR?
I'll submit those other 2 changes in another PR. |
will submit other two changes in another PR
And then will merging branches up to 7.0.x |
As in org.grails.plugins.datasource.DataSourceGrailsPlugin, configuration name is
grails.transaction.chainedTransactionManager
.