当前位置:网站首页>Seate中用了shardingjdbc 就不能用全局事务了吗?

Seate中用了shardingjdbc 就不能用全局事务了吗?

2022-07-01 15:43:00 阿里云问答

Seate中用了shardingjdbc 就不能用全局事务了吗? lQLPJxZy8ECyygnNAjfNAxawNyaf9ACEuLECvWGrWEBaAA_790_567.png




采纳答案1:

@ShardingTransactionType(TransactionType.BASE)和@GlobalTransactional绝对不能同时出现! 可以参考文档:https://github.com/seata/seata-samples 此答案整理自钉钉群“3群-Seata 开源讨论群”


原网站

版权声明
本文为[阿里云问答]所创,转载请带上原文链接,感谢
https://developer.aliyun.com/ask/437714