项目是使用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
这样配置之后才起作用。
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。