Skip to content
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

TM添加@GlobalTransactional, RM是否需要加@Transactional?加与不加有什么区别? #475

Open
betwins opened this issue Jun 29, 2022 · 0 comments

Comments

@betwins
Copy link

betwins commented Jun 29, 2022

Hi,
我看文档只提到要在TM添加@GlobalTransactional 以触发全局事务,在RM的接口上没有添加任何注解?那么seata在RM上是怎么拦截接口调用,从而为其添加全局事务上下文呢?是通过seata库注入的Filter来拦截的吗?
另外,如果在RM的函数上添加@transactional, 会有什么区别?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant