项目是使用springboot+jpa  想在控制台输出格式化的sql,总是无效,最终

spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true
这样配置之后才起作用。

相关文章:

  • 2022-12-23
  • 2021-08-05
  • 2021-06-29
  • 2021-07-04
  • 2021-08-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-02
  • 2021-11-02
  • 2022-02-15
  • 2022-12-23
相关资源
相似解决方案