spring data jpa logback show sql paramater
x00
logback.xml
<logger name="org.hibernate.SQL" level="DEBUG"/>
<logger name="org.hibernate.type.descriptor.sql.BasicBinder" level="TRACE"/>
x01
application.yml
logging:
level:
org.hibernate.SQL: debug
org.hibernate.type.descriptor.sql.BasicBinder: trace
原创文章,作者:506227337,如若转载,请注明出处:https://blog.ytso.com/278168.html