blob: 266cf9906464a07a370236666cbc54d904f1dd0f [file] [log] [blame]
bin.zhangc9726182018-08-22 17:14:28 +08001server:
2 port: 10011
3
4## logging
5logging:
6 level:
7 root: INFO
8 org.springframework.web: TRACE
9 org.springframework.data.jpa: TRACE
10 com.supwisdom.infras.security: DEBUG
11 com.supwisdom.leaveschool: DEBUG
12
13spring:
14 application:
bin.zhangfb54eee2018-08-27 14:04:58 +080015 name: leaving
bin.zhangc9726182018-08-22 17:14:28 +080016 datasource:
17 driver-class-name: com.mysql.jdbc.Driver
bin.zhangfb54eee2018-08-27 14:04:58 +080018 url: jdbc:mysql://172.50.10.15:3306/leave_school?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull
19 username: leave_school
20 password: 111111
bin.zhangc9726182018-08-22 17:14:28 +080021 jpa:
22 hibernate:
bin.zhangfb54eee2018-08-27 14:04:58 +080023 ddl-auto: update
bin.zhangc9726182018-08-22 17:14:28 +080024 naming:
25 physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
bin.zhangfb54eee2018-08-27 14:04:58 +080026 database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
bin.zhangc9726182018-08-22 17:14:28 +080027 show-sql: true
28
29infras:
30 mvc:
31# 自定义error输出的例子
32 custom-error:
33 enabled: true
34 error-map:
35 org.springframework.validation.BindException: Customized Bind Error Reason
36 include-message: true
37 include-errors: true
38 include-error: true
39 include-exception: true
40 include-path: true
41 include-timestamp: true
42 include-status: true
43 data:
44 jpa:
45 basePackages: com.supwisdom.leaveschool.leaving.repository