摘要: 今天做sql查询,发现字段值没区分大小写 mysql> select guid,type,parent_guid from api_assets where guid='3rfI2PsSrCz91mTMDgrZjE';+ + + +| guid | type | parent_guid |+ + + 阅读全文
posted @ 2019-08-20 17:47 慕尘 阅读(3394) 评论(0) 推荐(0) 编辑
摘要: Spring Boot 默认使用Logback记录日志 Spring Boot starter 都会默认引入spring-boot-starter-logging,不需要再引入 日志级别从高到低:TRACE < DEBUG < INFO < WARN < ERROR < FATAL 如果设置为 WA 阅读全文
posted @ 2019-08-20 11:47 慕尘 阅读(548) 评论(0) 推荐(0) 编辑
摘要: 使用springboot jpa,在运行项目时发现一个WARN WARN 11472 [ main] aWebConfiguration$JpaWebMvcConfiguration : spring.jpa.open-in-view is enabled by default. Therefore 阅读全文
posted @ 2019-08-20 11:39 慕尘 阅读(4877) 评论(0) 推荐(0) 编辑
摘要: spring boot 默认端口为8080 1.修改为指定端口 (1)修改配置文件 src/main/resources/application.properties (2)通过编码的方式来指定端口 在启动类中添加servletContainer方法 说明: 该代码适用于spring boot2X中 阅读全文
posted @ 2019-08-20 09:44 慕尘 阅读(25438) 评论(0) 推荐(0) 编辑