server:
|
port: 9095
|
|
spring:
|
datasource:
|
type: com.alibaba.druid.pool.DruidDataSource
|
driver-class-name: oracle.jdbc.OracleDriver
|
url: jdbc:oracle:thin:@192.168.11.251:1521/orcl
|
username: sg_prd
|
password: sgprd
|
druid:
|
initialSize: 5
|
minIdle: 5
|
maxActive: 20
|
maxWait: 60000
|
timeBetweenEvictionRunsMillis: 60000
|
minEvictableIdleTimeMillis: 300000
|
test-while-idle: true
|
test-on-borrow: false
|
test-on-return: false
|
poolPreparedStatements: true
|
keepAlive: true
|
maxPoolPreparedStatementPerConnectionSize: 20
|
useGlobalDataSourceStat: true
|
connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=500
|
filter:
|
wall:
|
config:
|
multi-statement-allow: true
|
|
# mybatis-plus配置
|
mybatis-plus:
|
global-config:
|
db-config:
|
id-type: INPUT
|
configuration:
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
map-underscore-to-camel-case: true
|
jdbc-type-for-null: 'null'
|
type-aliases-package: com.gs.dingtalk.entity.*
|
mapper-locations: classpath:mapper/*.xml
|