完成springboot-transaction升级重构
This commit is contained in:
parent
92557e0551
commit
adc9ddd900
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
基于注解的声明式事务
|
基于注解的声明式事务
|
||||||
|
|
||||||
|
## 测试方法
|
||||||
|
|
||||||
|
启动应用后访问/errorUpdate和/errorUpdate2,对于出现异常的Service方法,数据库会回滚。
|
||||||
|
|
||||||
## 许可证
|
## 许可证
|
||||||
|
|
||||||
Copyright (c) 2018 Xiong Neng
|
Copyright (c) 2018 Xiong Neng
|
||||||
|
@ -15,7 +15,7 @@ spring:
|
|||||||
profiles:
|
profiles:
|
||||||
active: dev
|
active: dev
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:mysql://127.0.0.1:3306/test?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
|
url: jdbc:mysql://127.0.0.1:3306/test?serverTimezone=UTC&useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
|
||||||
username: root
|
username: root
|
||||||
password: 123456
|
password: 123456
|
||||||
|
|
||||||
@ -51,5 +51,5 @@ logging:
|
|||||||
ROOT: INFO
|
ROOT: INFO
|
||||||
com:
|
com:
|
||||||
xncoding: DEBUG
|
xncoding: DEBUG
|
||||||
file: E:/logs/trans.log
|
file: D:/logs/trans.log
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user