Eric Lefevre-Ardant on Java & Agile

February 23, 2007

p6spy, dbUnit and maven

Filed under: java, maven, test — Eric Lefevre-Ardant @ 3:51 pm

p6spy is a JDBC proxy that will log the SQL statements passed to a database. It is a relatively old project (last release is from 2003 but I only heard about it today, as I was looking for a way to trace SQL queries sent by dbUnit to my Oracle database.
The bad news, of course, is that usage of p6spy along with dbUnit and Maven is not documented. Since it took me a while to figure it out, I thought I’d share it here.
(more…)

Powered by WordPress