From f85f351ef03911e5f005088ebf0ba032187a5b1c Mon Sep 17 00:00:00 2001 From: fanghongchao <601470458@qq.com> Date: Wed, 19 Dec 2018 11:01:14 +0800 Subject: [PATCH] =?UTF-8?q?8=E5=B0=8F=E6=97=B6=E6=96=AD=E5=BC=80=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5=20=E4=B8=8D=E9=87=8D=E8=BF=9E=E9=97=AE=E9=A2=98?= =?UTF-8?q?=EF=BC=8C=E6=9B=B4=E6=AD=A3=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-dev.yml | 44 ++++++++++++++++---------- 1 file changed, 27 insertions(+), 17 deletions(-) diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index b94baa1..339067f 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -1,31 +1,41 @@ spring: + jpa: + show-sql: true datasource: primary: username: cdairport password: 123456 - url: jdbc:mysql://130.120.3.158:3306/cdairport?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&&autoReconnect=true - tomcat: - max-active: 30 - test-on-borrow: true - initial-size: 3 - min-idle: 1 - max-wait: 60000 - time-between-eviction-runs-millis: 60000 - min-evictable-idle-time-millis: 300000 - test-while-idle: true - test-on-return: false - pool-prepared-statements: false - max-pool-prepared-statement-per-connection-size: 20 + url: jdbc:mysql://130.120.3.158:3306/cdairport?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&autoReconnect=true + max-active: 30 + test-on-borrow: true + validation-query: SELECT 1 + initial-size: 3 + min-idle: 1 + max-wait: 60000 + time-between-eviction-runs-millis: 60000 + min-evictable-idle-time-millis: 300000 + test-while-idle: true + test-on-return: false + pool-prepared-statements: false + max-pool-prepared-statement-per-connection-size: 20 secondary: username: ommsxc password: ommsxc #url: jdbc:oracle:thin:@130.120.3.236:1521/xe url: jdbc:oracle:thin:@130.120.2.105:1521/orcl driver: oracle.jdbc.driver.OracleDriver - tomcat: - max-active: 30 - test-on-borrow: true - initial-size: 3 + max-active: 30 + test-on-borrow: true + validation-query: SELECT 1 + initial-size: 3 + min-idle: 1 + max-wait: 60000 + time-between-eviction-runs-millis: 60000 + min-evictable-idle-time-millis: 300000 + test-while-idle: true + test-on-return: false + pool-prepared-statements: false + max-pool-prepared-statement-per-connection-size: 20 sysApi: host: 130.120.3.231 port: 93