jta通过

This commit is contained in:
thinkgem
2023-06-29 12:17:05 +08:00
parent cce67cf0ad
commit f18682a3a9
6 changed files with 38 additions and 43 deletions

View File

@@ -217,19 +217,6 @@ jdbc:
# com.jeesite.modules.sys = default
# com.jeesite.modules.filemanager = ds2
# # JTA XA 事务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;
# grant select on sys.dba_2pc_pending to jeesite;
# grant execute on sys.dbms_system to jeesite;
# # 事务超时时间单位秒30分钟v4.1.5+
# transactionTimeout: 1800
#
# # 表名和字段名(前缀|后缀是否强制大写v4.1.8+
# tableAndColumn:
# prefixSuffix: "`|`"
@@ -260,6 +247,20 @@ spring:
mvc:
pathmatch:
matching-strategy: ANT_PATH_MATCHER
# JTA XA 事务spring boot 3 请在 jeesite-module-core/pom.xml 中打开 atomikos 依赖
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;
# grant select on sys.dba_2pc_pending to jeesite;
# grant execute on sys.dbms_system to jeesite;
# 事务超时时间单位秒30分钟spring boot 3
transaction:
default-timeout: 30m
# # Redis 连接参数 RedisProperties
# redis: