A JDBC Query Monitor
Categories: Java
I recently wrote a Java JDBC wrapper for monitoring calls to a database (JDBC DataSource). My employer has allowed this to be released as open source.
If you are creating or maintaining a Java application and would like to log requests to your database, look for unexpected operations, or gather statistics, then this code might be helpful.