executeBatch and P6Spy
Brought to you by:
mark_matthews
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