blob: 73928537be240c1aed89e373e853de96a3c4e18d [file] [log] [blame]
chenbof14869c2018-08-22 16:23:36 +08001server:
2 port: 10020
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:
15 name: sample-user
16 datasource:
17 driver-class-name: com.mysql.jdbc.Driver
chenbo0f0bc102018-08-29 19:20:49 +080018## url: jdbc:mysql://172.50.10.15:3306/leave_school?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull
19 url: jdbc:mysql://180.166.150.114:9512/leave_school?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull
chenbo6d3ceb72018-08-23 19:47:47 +080020 username: leave_school
chenbof14869c2018-08-22 16:23:36 +080021 password: 111111
22 jpa:
chenbo6d3ceb72018-08-23 19:47:47 +080023 properties:
24 hibernate:
25 dialect: org.hibernate.dialect.MySQL5InnoDBDialect
chenbof14869c2018-08-22 16:23:36 +080026 hibernate:
27 ddl-auto: none
28 naming:
29 physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
30 show-sql: true
31
32infras:
33 mvc:
34# 自定义error输出的例子
35 custom-error:
36 enabled: true
37 error-map:
38 org.springframework.validation.BindException: Customized Bind Error Reason
39 include-message: true
40 include-errors: true
41 include-error: true
42 include-exception: true
43 include-path: true
44 include-timestamp: true
45 include-status: true
46 data:
47 jpa:
48 basePackages: com.supwisdom.leaveschool.basicsdata.repository