如何在spring-boot中设置hibernate.format_sql?
在Spring Boot中,可以使用spring.jpa.properties.*
来设置任何可用的hibernate属性。因此,spring.jpa.properties.hibernate.format_sql=true
也是有效的。可以查看文档的这一部分来了解更多信息。
在Spring Boot中,可以使用spring.jpa.properties.*
来设置任何可用的hibernate属性。因此,spring.jpa.properties.hibernate.format_sql=true
也是有效的。可以查看文档的这一部分来了解更多信息。