Menu

#12 executeBatch and P6Spy

open
nobody
None
5
2003-02-01
2003-02-01
Kees Kuip
No

Hello,

I'm using P6Spy (P6Spy.com) to trace all SQL statements
generated by an OR-mapping tool (hibernate).

P6Spy is a driver in itself that wraps around a real
driver.
In this case it wraps com.mysql.jdbc.Driver.

It traces all SQL-statements just fine except the ones that
are created by the method 'executeBatch'.
It seems that 'executeBatch' uses lower-level methods that
are not part of the jdbc-standard (and the methods that
P6Spy overrides). The result is that P6Spy cannot trace
all statements anymore.

To resolve this problem :
Is it possible to change the implementation of
'executeBatch'
so that it calls methods which are part of the
jdbc-standard ?

This would help me a lot.

Kees Kuip

Discussion


Log in to post a comment.

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.