spring: jpa: show-sql: true properties: hibernate: show_sql: true format_sql: true use_sql_comments: true # Add SQL comments to indicate the source of queries logging: level: org.hibernate: trace 2024 https://bootcamptoprod.com/spring-boot-data-jpa-print-sql-queries/ 2022 https://www.baeldung.com/hibernate-logging-levels https://www.baeldung.com/sql-logging-spring-boot2022 ???? https://sky.pro/wiki/java/otobrazhenie-sql-zaprosov-iz-jpa-v-ide-reshenie-bez-dostupa-k-bd/ logging.level: org.hibernate.SQL: DEBUG org.hibernate.type.descriptor.sql.BasicBinder: TRACE org.hibernate.transaction: DEBUG org.hibernate.engine.transaction.internal.TransactionImpl: DEBUG logging.level: org.springframework.jdbc.core.JdbcTemplate=DEBUG org.springframework.jdbc.core.StatementCreatorUtils=TRACE