How to log in hibernate which part of the code caused a given SQL

后端 未结 0 740
执念已碎
执念已碎 2020-12-11 18:15

We can turn on all of the SQL related logging with the following settings in spring:

spring.jpa.properties.hibernate.show_sql=true
spring.jpa.properties.hiber         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题