![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring boot
ssschema
能来即是缘分,没认识是缘分不够,没走进心里是心中早有佳人。
展开
-
Springboot jpa日志配置
Springboot jpa日志配置在springboot中,jpa的日志配置可以用以下来配置(yml)spring: jpa: hibernate: ddl-auto: none database: mysql # show-sql:true 将会打印sql语句,但不会格式化,需要下面的配置 show-sql: true properties: hibernate: # 将format_sql 配置为ture,将会格式化原创 2020-07-01 15:56:41 · 2863 阅读 · 0 评论 -
Springboot Druid连接池专属配置解释
Springboot Druid连接池专属配置解释datasource: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/abcd?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8 username: root原创 2020-06-25 10:19:59 · 994 阅读 · 0 评论