From 3d72492c9ba49eb93130af5cf00e573209627fe0 Mon Sep 17 00:00:00 2001 From: Wizzercn Date: Sat, 30 Mar 2019 12:31:38 +0800 Subject: [PATCH] .. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2782fa1fd..618bc4150 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ https://wizzer.cn/donation 捐赠者列表 fescar.txServiceGroup=my_test_tx_group ``` *   下载并启动 [fescar服务端](https://github.com/alibaba/fescar/releases) -*   业务方法上加上注解 `@GlobalTransactional` 即可,可选参数 `timeoutMills = 300000, name = "my_test_tx_group"` +*   业务方法上加上注解 `@GlobalTransactional` 即可,可选参数 `timeoutMills = 300000, name = "my_test"` *   与本地事务注解 `@Aop(TransAop.READ_COMMITTED)` 不冲突 *   业务方法内不要加 try catch (与本地事务注解一样)要让异常抛出来事务才能工作 *   分布式事务不是越多越好,可以在核心业务如交易环节增加,建议实现乐观锁来预防脏数据产生