Hibernate JPA has a slow query logging. The preparedStatment which is slow is logged. With mssql-jdbc this is useless due the lack of a proper toString function for prepared statements.
2023-02-27 14:35:49 INFO [org.hib.SQL_SLOW] f33ac0603c4f (executor-thread-2075) SlowQuery: 91 milliseconds. SQL: 'wrapped[ SQLServerPreparedStatement:1643213 ]'
I would like to see the sql query in the quarkus logs.
SQLServerStatement.java
Hibernate JPA has a slow query logging. The preparedStatment which is slow is logged. With mssql-jdbc this is useless due the lack of a proper toString function for prepared statements.
I would like to see the sql query in the quarkus logs.
SQLServerStatement.java