Ihar Hancharenka 95a6c61640 m
2024-09-19 07:45:45 +03:00

25 строки
776 B
Plaintext

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
logging.level.org.hibernate.SQL=DEBUG
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
logging.level.org.springframework.jdbc.core.JdbcTemplate=DEBUG
logging.level.org.springframework.jdbc.core.StatementCreatorUtils=TRACE
????
https://sky.pro/wiki/java/otobrazhenie-sql-zaprosov-iz-jpa-v-ide-reshenie-bez-dostupa-k-bd/