Код: Выделить всё
logging:
level:
org.hibernate.orm.jdbc.bind: trace
spring:
jpa:
show-sql: true
properties:
hibernate:
format_sql: true
, в отличие от этого:
Код: Выделить всё
Hibernate:
select
ed1_0.user_id,
ed1_0.email
from
email_data ed1_0
where
ed1_0.user_id=?
2025-05-28T22:35:38.168+03:00 TRACE 25708 --- [ctor-http-nio-2] org.hibernate.orm.jdbc.bind : binding parameter (1:BIGINT)
Подробнее здесь: [url]https://stackoverflow.com/questions/79642922/see-actual-executed-sql-string-in-logs[/url]