Skip to content

Instantly share code, notes, and snippets.

@kelverarruda
Created January 31, 2024 00:22
Show Gist options
  • Save kelverarruda/5a3038797f4167b947a061c3032f3188 to your computer and use it in GitHub Desktop.
Save kelverarruda/5a3038797f4167b947a061c3032f3188 to your computer and use it in GitHub Desktop.
How to show sql params debug console on spring boot
# 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