增加 连接池 查询超时时间、事务超时时间 参数
This commit is contained in:
@@ -31,6 +31,10 @@ jdbc:
|
||||
# 连接超时参数,单位毫秒 (v5.5.2+)
|
||||
connectTimeout: ~
|
||||
socketTimeout: ~
|
||||
|
||||
# 查询超时时间,事务超时时间 (v5.7.1+)
|
||||
queryTimeout: ~
|
||||
transactionQueryTimeout: ~
|
||||
|
||||
# 从池中取出连接前进行检验,如果检验失败,则从池中去除连接并尝试取出另一个(4.0.6+)
|
||||
testOnBorrow: false
|
||||
@@ -57,19 +61,12 @@ jdbc:
|
||||
# 设置连接属性,可获取到表的 remark (备注)
|
||||
remarksReporting: false
|
||||
|
||||
# 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: "`|`"
|
||||
@@ -96,6 +93,10 @@ spring:
|
||||
# corePoolSize: 5
|
||||
# maxPoolSize: 20
|
||||
# keepAliveSeconds: 60
|
||||
|
||||
# JTA XA 事务(spring boot 3) 请在 jeesite-module-core/pom.xml 中打开 atomikos 依赖
|
||||
jta:
|
||||
enabled: false
|
||||
|
||||
# 打印横幅
|
||||
main:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 输出子表控件
|
||||
for (child in table.childList){
|
||||
%>
|
||||
<h4 class="form-unit">\${text('${child.comments}')}</h4>
|
||||
<div class="form-unit">\${text('${child.comments}')}</div>
|
||||
<div class="ml10 mr10 table-form">
|
||||
<table id="${@StringUtils.uncap(child.className)}DataGrid"></table>
|
||||
<% if(table.tplCategory != 'query'){ %>
|
||||
|
||||
Reference in New Issue
Block a user