chenbo | f14869c | 2018-08-22 16:23:36 +0800 | [diff] [blame] | 1 | server: |
| 2 | port: 10020 |
| 3 | |
| 4 | ## logging |
| 5 | logging: |
| 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 | |
| 13 | spring: |
| 14 | application: |
| 15 | name: sample-user |
| 16 | datasource: |
| 17 | driver-class-name: com.mysql.jdbc.Driver |
chenbo | 6d3ceb7 | 2018-08-23 19:47:47 +0800 | [diff] [blame] | 18 | url: jdbc:mysql://172.50.10.15:3306/leave_school?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull |
| 19 | username: leave_school |
chenbo | f14869c | 2018-08-22 16:23:36 +0800 | [diff] [blame] | 20 | password: 111111 |
| 21 | jpa: |
chenbo | 6d3ceb7 | 2018-08-23 19:47:47 +0800 | [diff] [blame] | 22 | properties: |
| 23 | hibernate: |
| 24 | dialect: org.hibernate.dialect.MySQL5InnoDBDialect |
chenbo | f14869c | 2018-08-22 16:23:36 +0800 | [diff] [blame] | 25 | hibernate: |
| 26 | ddl-auto: none |
| 27 | naming: |
| 28 | physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl |
| 29 | show-sql: true |
| 30 | |
| 31 | infras: |
| 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 |