打印sql的参数 #2361
Unanswered
comandowang
asked this question in
Q&A
打印sql的参数
#2361
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checklist
What is version of Halo has the issue?
1.5.4
What database are you using?
MySQL 5.7
What is your deployment method?
Fat Jar
Your site address.
1
What happened?
请教一下, jpa的sql怎么将参数一起打印出来, 需要增加什么配置吗
现在只能显示sql
2022-08-30 11:06:26.799 WARN 22608 --- [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=56s563ms865µs400ns).
Hibernate: select option0_.id as id1_11_, option0_.create_time as create_t2_11_, option0_.update_time as update_t3_11_, option0_.option_key as option_k4_11_, option0_.type as type5_11_, option0_.option_value as option_v6_11_ from options option0_ where option0_.option_key=?
Relevant log output
Additional information
1
Beta Was this translation helpful? Give feedback.
All reactions