Menu

#12 Add support for batch operations to JDBC proxy Mon

general
open
nobody
general (11)
5
2007-09-25
2007-09-25
Dr. Java
No

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)
;
}

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.