We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
数据源1是只读的权限,数据源2是读写的权限。在@transactional的方法中切换数据,数据源切换的注解是在@service上添加的,并且注解切换数据源的操作也执行了,并且日志显示进行切换了。但是在执行sql时数据源还是没有切换。
The text was updated successfully, but these errors were encountered:
README 最后的注意说了,当方法有 @Transactional 注解时无法切换数据源
@Transactional
Sorry, something went wrong.
No branches or pull requests
数据源1是只读的权限,数据源2是读写的权限。在@transactional的方法中切换数据,数据源切换的注解是在@service上添加的,并且注解切换数据源的操作也执行了,并且日志显示进行切换了。但是在执行sql时数据源还是没有切换。
The text was updated successfully, but these errors were encountered: