Welcome to jdbcUnit

JDBC unit is a tool that plugs a recorder in the Java/JDBC framework. It records and plays back SQL statements sent to the database manager.

What can we do with this tool?

  • use data that is not anymore, or never was, in the database
  • write code without a connection to the database

This project was started while writing an application limited to JDK 1.3, now the application supports 1.4 but jdbcUnit does not support the latest JDBC APIs.

The current implementation does not support INSERT/UPDATE/DELETE statements, meaning if the same select statement is executed twice, the same result set is returned, even some records were added or changed between the two calls.

Jean Lazarou


The java code presented was formated using the java2html tool.