新增事务测试代码

This commit is contained in:
thinkgem
2019-07-07 00:48:34 +08:00
parent 875a4526cf
commit b5fd643070
7 changed files with 65 additions and 18 deletions

View File

@@ -99,7 +99,7 @@ jdbc:
# maxEvictableIdleTimeMillis: 1800000
#
# # 是否自动回收泄露的连接和超时时间单位秒35分钟4.0.6+
# removeAbandoned: true
# removeAbandoned: false
# removeAbandonedTimeout: 2100
#
# # Oracle 下会自动开启 PSCache并指定每个连接上 PSCache 大小。若不指定,则与 maxActive 相同4.1.5+
@@ -124,9 +124,10 @@ jdbc:
# minIdle: 3
# maxActive: 20
# # JTA 分布式事务v4.0.4+
# # JTA 分布式事务,建议启用多数据源的时候开启v4.0.4+
# jta:
# enabled: false
# 注意:如果报 oracle.jdbc.xa.OracleXAResource.recover 错误,则需要授权如下:
# grant select on sys.dba_pending_transactions to jeesite;
# grant select on sys.pending_trans$ to jeesite;