view SQL executed by Jasper report

后端 未结 4 2199
自闭症患者
自闭症患者 2021-02-08 23:50

When running a Jasper report in which the SQL is embedded in the report file (.jrxml), is it possible to see the SQL that is executed? Ideally, I\'d also like to see the values

4条回答
  •  盖世英雄少女心
    2021-02-09 00:07

    If you're using Ms SQL you can use sql profiler, to see every query executed on the server.

    EDIT: Here is an article on enabling sql query logging on MySql server: http://www.howtogeek.com/howto/database/monitor-all-sql-queries-in-mysql/

提交回复
热议问题