#16 Missing test for "executeBatch"

open
nobody
None
5
2006-09-19
2006-09-19
Anonymous
No

In jamonapi\src\java\com\jamonapi\proxy\JDBCMonProxy.java:

I noticed that a test for "excecuteBatch" was missing.
One of the
things that jamon helped us pinpoint, was the places
that using batch
inserts could make a big difference. But once I change
them to batch, I
no longer get the query statement recorded. The
following change
addresses that:

private boolean isExecuteQueryMethod(String
methodName) {
return "executeQuery".equals(methodName) ||
"executeUpdate".equals(methodName) ||
"execute".equals(methodName) ||
"executeBatch".equals(methodName); ===>
was missing!
}

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks