diff --git a/docs/zh/core/tx.md b/docs/zh/core/tx.md index 084370e0..731c4b9f 100644 --- a/docs/zh/core/tx.md +++ b/docs/zh/core/tx.md @@ -224,9 +224,13 @@ public void purchase(String userId, String commodityCode, int orderCount) { > 的官方示例快速开始:https://seata.io/zh-cn/docs/user/quickstart.html ### 注意事项 - -在使用 Seata 分布式事务时,请注意添加 Seata 的相关 Maven 依赖,例如: - +1.使用`seata-spring-boot-starter`的时候请关闭自动代理 +```yaml +seata: + enable-auto-data-source-proxy: false +``` +2.使用`seata-all`请不要使用`@EnableAutoDataSourceProxy` +3.如果是boot项目可以引入相关Maven依赖,例如: ```xml io.seata