开发者

Log database queries

I have a fairly complicated groovy script which performs some operations on an Oracle db. Is there a way to log all the queries being performed on the database during a run? I do not have DBA access to the db. It is tedious to trace through the code and figure all the queries being 开发者_运维技巧fired. Just was wondering if there was a way to log the actual queries instead.

Thanks.


Eventually used this log4jdbc

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜