Mock JDBC driver to return data from CSV files.
dummyjdbc helps you ignoring database requests which an application makes to the database. Furthermore queries can be answered by returning data from CSV files.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.
How to get DummyJDBC
DummyJDBC at Maven Central:
<dependency> <groupId>com.googlecode.dummyjdbc</groupId> <artifactId>dummyjdbc</artifactId> <version>1.2</version> </dependency>