Question

When trying to spy on the jdbc connection to a hsqldb database it doesn't work. It looks like the org.hsqldb.jdbcDriver is not deregistered.

Was it helpful?

Solution

The solution is to deregister both drivers registered by hsqldb.jar.

In spy.properties you should have

realdriver=org.hsqldb.jdbcDriver
realdriver2=org.hsqldb.jdbc.JDBCDriver
deregisterdrivers=true
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top