mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
doc: update tx.md
This commit is contained in:
parent
bfc1a685b5
commit
878f67c39d
@ -230,7 +230,8 @@ seata:
|
|||||||
enable-auto-data-source-proxy: false
|
enable-auto-data-source-proxy: false
|
||||||
```
|
```
|
||||||
2.使用 `seata-all` 请不要使用 `@EnableAutoDataSourceProxy`
|
2.使用 `seata-all` 请不要使用 `@EnableAutoDataSourceProxy`
|
||||||
3.如果是 SpringBoot 项目可以引入相关 Maven 依赖,例如:
|
|
||||||
|
3.如果是 SpringBoot 项目需要引入相关 Maven 依赖,例如:
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -241,13 +242,5 @@ seata:
|
|||||||
```
|
```
|
||||||
### 示例
|
### 示例
|
||||||
|
|
||||||
请到 mybatis-flex-test 模块下面:
|
[mybatis-flex-spring-boot-seata-demo](https://gitee.com/mybatis-flex/mybatis-flex-samples/tree/master/mybatis-flex-spring-boot-seata-demo) : Seata 官方 demo 与 flex 结合。
|
||||||
|
|
||||||
```xml
|
|
||||||
mybatis-flex-spring-boot-seata:flex多数据源与seata的结合
|
|
||||||
```
|
|
||||||
|
|
||||||
```xml
|
|
||||||
mybatis-flex-spring-boot-seata-demo:官方demo与flex结合
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user