logging:
level:
com.dhc: info
org.springframework: info
com.dhc.leapower.common.web.handler.ServiceStartupHandler: info
org.hibernate.SQL: debug
org.hibernate.engine.QueryParameters: debug
org.hibernate.engine.query.HQLQueryPlan: debug
org.hibernate.type.descriptor.sql.BasicBinder: trace
spring:
jpa:
database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
show-sql: true
format_sql: true
properties:
hibernate:
format_sql: true
ddl-auto: none
springjpa yml 格式化sql查询日志
最新推荐文章于 2023-07-20 09:39:09 发布