Add support for batch operations to JDBC proxy Mon
Monitor Java applications - SQL, HTTP, Methods, Exceptions and more.
Brought to you by:
stevesouza
JAMon is not tracking batch operations issued via addBatch() operations.
The following code in JDBCMonProxy fixes this issue:
private boolean isExecuteQueryMethod(String methodName) {
return "executeQuery".equals(methodName) || "executeUpdate".equals(methodName) || "execute".equals(methodName)
// dr_java: Recognize "addBatch" as query method
|| "addBatch".equals(methodName)
;
}