From 72b15883daabb6a63db1624526cbe63b6c61381d Mon Sep 17 00:00:00 2001 From: zhouxiunai <154707516@qq.com> Date: Wed, 2 Jan 2019 10:38:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4dev=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=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 | 14 ++++++++++---- src/main/resources/application.yml | 2 +- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 374d195d..5923d368 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -1,9 +1,13 @@ spring: + jpa: + hibernate: + ddl-auto: none + naming: + physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl datasource: - username: ommsxc - password: ommsxc - url: jdbc:oracle:thin:@130.120.3.236:1521/xe - driver: oracle.jdbc.driver.OracleDriver + 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 @@ -60,6 +64,8 @@ scheduled: corePoolSize: 10 maxPoolSize: 50 queueCapacity: 10 + # 每日凌晨3:00 cminmsg 已处理数据转历史 + cminmsgHisCron: 0 0 3 * * ? #计入历史航班数据的条件 hstCondition: #航班到达超过多久则成为历史航班数据(单位:秒) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index e6ee0179..6fbec020 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,3 +1,3 @@ spring: profiles: - active: pro \ No newline at end of file + active: dev \ No newline at end of file