项目是使用springboot+jpa 想在控制台输出格式化的sql,总是无效,最终
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true
这样配置之后才起作用。
项目是使用springboot+jpa 想在控制台输出格式化的sql,总是无效,最终
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true
这样配置之后才起作用。
相关文章: