You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, it is already possible to format output queries.
The Spring Boot property, spring.jpa.properties.hibernate.format_sql delegates the property to Hibernate, and ultimately, Hibernate uses Formatter to format the queries.
Please see the "5.1. Query Logging Listener" section in the documentation. When you scroll down a bit, there is a code snippet that demonstrates the hibernate formatter usage.
Add SQL Format Option so that sql log can look feels good.
Like on Spring Boot properties
spring.jpa.properties.hibernate.format_sql=true
It would be better like this:
Thanks
The text was updated successfully, but these errors were encountered: