Siehe tatsächliche ausgeführte SQL -Zeichenfolge in Protokollen [Duplikat]

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Siehe tatsächliche ausgeführte SQL -Zeichenfolge in Protokollen [Duplikat]

by Anonymous » 02 Jun 2025, 18:17

Gibt es eine Möglichkeit, eine tatsächliche SQL ausgeführt zu sehen?

Code: Select all

logging:
level:
org.hibernate.orm.jdbc.bind: trace

spring:
jpa:
show-sql: true
properties:
hibernate:
format_sql: true
Dies ist jedoch nicht , was ich meine.

Code: Select all

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)

Top