server: port: 1959 servlet: context-path: /commond spring: application: name: urbantraffic-hiatmp-dao-common cloud: nacos: discovery: server-addr: 192.168.139.91:8848 #6.1管控平台数据库地址、账号、密码,根据项目现场进行修改 datasource: primary: url: jdbc:oracle:thin:@192.168.139.142:1521/hiatmpdb password: hiatmpqd6 username: hiatmpqd6 # 下面为数据库连接池相关参数,一般不需修改 driver-class-name: oracle.jdbc.driver.OracleDriver type: com.alibaba.druid.pool.DruidDataSource # 配置获取连接等待超时的时间,单位毫秒 maxWait: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位毫秒 time-between-eviction-runs-millis: 60000 # 配置一个连接在池中最小生存的时间,单位毫秒 min-evictable-idle-time-millis: 300000 validation-query: SELECT 1 FROM DUAL test-while-idle: true test-on-borrow: false test-on-return: false # 下面部分为mybatis及log配置,一般不需修改 mybatis: mapper-locations: classpath:sql-mapper/**/*.xml mapUnderscoreToCamelCase: true logging: config: classpath:log4j2.xml