dummyjdbc answers database requests of any application with dummy data to be independent of an existing database.
The library can either return dummy values, or values defined by you in a CSV file. The files are determined by the SQL query which makes this a very flexible tool. Also results of Stored Procedures can be mocked with data from CSV files.
For more details please see the Wiki
<dependency>
<groupId>com.googlecode.dummyjdbc</groupId>
<artifactId>dummyjdbc</artifactId>
<version>1.3.1</version>
</dependency>