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

TransactionTemplate支持不同的datasource的DAO吗 #52

Closed
jenopob opened this issue Aug 18, 2020 · 3 comments
Closed

TransactionTemplate支持不同的datasource的DAO吗 #52

jenopob opened this issue Aug 18, 2020 · 3 comments

Comments

@jenopob
Copy link

jenopob commented Aug 18, 2020

TransactionTemplate支持不同的datasource的DAO吗

@jenopob
Copy link
Author

jenopob commented Aug 18, 2020

如果是不同实例上数据源或者同实例上的不同数据库上的数据库库操作事务是否支持?

@liangyanghe
Copy link
Member

不支持不同datasource的dao,不同datasource的事务需要用到分布式事务

@jenopob
Copy link
Author

jenopob commented Nov 17, 2022

我使用了atomikos来解决了

@jenopob jenopob closed this as completed Nov 17, 2022
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

2 participants