If you are not using an application on the application server that provides you with a data source, you can find the log4jdbc project , which will be useful, the logger jdbc.sqltimingprovided by the project will allow you to record the execution of the executed SQL queries.
, DataSources, , DataSource ConnectionSpy. .
, , :
- P6Spy, . , ( ), .
- API JAMon SQL. JAMon API .