File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 22
33基于注解的声明式事务
44
5+ ## 测试方法
6+
7+ 启动应用后访问/errorUpdate和/errorUpdate2,对于出现异常的Service方法,数据库会回滚。
8+
59## 许可证
610
711Copyright (c) 2018 Xiong Neng
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ spring:
1515 profiles :
1616 active : dev
1717 datasource :
18- url : jdbc:mysql://127.0.0.1:3306/test?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
18+ url : jdbc:mysql://127.0.0.1:3306/test?serverTimezone=UTC& useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
1919 username : root
2020 password : 123456
2121
@@ -51,5 +51,5 @@ logging:
5151 ROOT : INFO
5252 com :
5353 xncoding : DEBUG
54- file : E :/logs/trans.log
54+ file : D :/logs/trans.log
5555
You can’t perform that action at this time.
0 commit comments