数据库
首页 > 数据库> > spring data jpa logback show sql paramater

spring data jpa logback show sql paramater

作者:互联网

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

标签:show,jpa,spring,paramater,sql,logback
来源: https://www.cnblogs.com/denghb/p/16538716.html