I used parameter AvailableSettings.LOG_SLOW_QUERY to log slow query. But instead of query it logged only PreparedStatement.toString(). As result when I use Oracle JDBC Driver with HicariCP, there is no query in logged statement: org.hibernate.SQL_SLOW : SlowQuery: 80 milliseconds. SQL: 'HikariProxyPreparedStatement@1363216410 wrapping oracle.jdbc.driver.OraclePreparedStatementWrapper@279aac5f' |