view SQL executed by Jasper report

后端 未结 4 2210
自闭症患者
自闭症患者 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:05

    Another option is to use p6spy. P6Spy is sort of a "proxy JDBC driver" that sits between the app and the real JDBC driver, and it can log everything that it sees. You should be able to download a copy here: http://www.p6spy.com/

提交回复
热议问题