Created
January 31, 2024 00:22
-
-
Save kelverarruda/5a3038797f4167b947a061c3032f3188 to your computer and use it in GitHub Desktop.
How to show sql params debug console on spring boot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add this your config. application file | |
spring: | |
jpa: | |
show-sql: true | |
properties: | |
hibernate: | |
format_sql: true | |
# this show binding params | |
logging: | |
level: | |
org.hibernate.type.descriptor.sql: trace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment