SQLとバインド変数の値を両方ともログに出力するにはapplication.ymlに下記を追記する。
1 2 3 4 5 6 7 | logging: level: org.hibernate: SQL: debug type: EnumType: trace descriptor.sql.BasicBinder: trace |
Technical Notes
SQLとバインド変数の値を両方ともログに出力するにはapplication.ymlに下記を追記する。
1 2 3 4 5 6 7 | logging: level: org.hibernate: SQL: debug type: EnumType: trace descriptor.sql.BasicBinder: trace |