blob: a36a52d4d06a026751f9a1bc047f1259d191c60a [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
chenbo6d3ceb72018-08-23 19:47:47 +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
chenbof14869c2018-08-22 16:23:36 +080020 password: 111111
21 jpa:
chenbo6d3ceb72018-08-23 19:47:47 +080022 properties:
23 hibernate:
24 dialect: org.hibernate.dialect.MySQL5InnoDBDialect
chenbof14869c2018-08-22 16:23:36 +080025 hibernate:
26 ddl-auto: none
27 naming:
28 physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
29 show-sql: true
30
31infras:
32 mvc:
33# 自定义error输出的例子
34 custom-error:
35 enabled: true
36 error-map:
37 org.springframework.validation.BindException: Customized Bind Error Reason
38 include-message: true
39 include-errors: true
40 include-error: true
41 include-exception: true
42 include-path: true
43 include-timestamp: true
44 include-status: true
45 data:
46 jpa:
47 basePackages: com.supwisdom.leaveschool.basicsdata.repository