Pergunta

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.

Foi útil?

Solução

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
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top