From 2d2e172b5b40fd6df2769e7c183ce4b701a77c87 Mon Sep 17 00:00:00 2001 From: life <13122192336@163.com> Date: Tue, 8 Aug 2023 22:22:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E6=A1=A3=E6=B3=A8?= =?UTF-8?q?=E6=84=8F=E4=BA=8B=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/zh/core/tx.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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