添加jta在oracle下设置授权的提示信息

This commit is contained in:
thinkgem
2019-05-18 00:35:33 +08:00
parent 2de70e79ae
commit dd9e400f6a
3 changed files with 15 additions and 5 deletions

View File

@@ -47,6 +47,11 @@ jdbc:
# 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;
# grant select on sys.dba_2pc_pending to jeesite;
# grant execute on sys.dbms_system to jeesite;
# 事务超时时间单位秒30分钟v4.1.5+
transactionTimeout: 1800

View File

@@ -5,8 +5,8 @@ com.atomikos.icatch.max_actives=-1
com.atomikos.icatch.enable_logging=false
com.atomikos.icatch.registered=true
# 提示 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;
# 注意:如果报 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;