mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 17:18:24 +08:00
修改文档注意事项
This commit is contained in:
parent
6b81a678d5
commit
2d2e172b5b
@ -224,9 +224,13 @@ public void purchase(String userId, String commodityCode, int orderCount) {
|
|||||||
> 的官方示例快速开始:https://seata.io/zh-cn/docs/user/quickstart.html
|
> 的官方示例快速开始:https://seata.io/zh-cn/docs/user/quickstart.html
|
||||||
|
|
||||||
### 注意事项
|
### 注意事项
|
||||||
|
1.使用`seata-spring-boot-starter`的时候请关闭自动代理
|
||||||
在使用 Seata 分布式事务时,请注意添加 Seata 的相关 Maven 依赖,例如:
|
```yaml
|
||||||
|
seata:
|
||||||
|
enable-auto-data-source-proxy: false
|
||||||
|
```
|
||||||
|
2.使用`seata-all`请不要使用`@EnableAutoDataSourceProxy`
|
||||||
|
3.如果是boot项目可以引入相关Maven依赖,例如:
|
||||||
```xml
|
```xml
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.seata</groupId>
|
<groupId>io.seata</groupId>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user