Java comes with Java DB.
That said, I would advise against using a different type of DB than what you use in production unless you go through an ORM layer. Otherwise, your SQL might not be as cross-platform as you think.
Also check out DbUnit
More Related Contents:
- How do I unit test jdbc code in java? [closed]
- Is it possible to specify the schema when connecting to postgres with JDBC?
- Final method mocking
- How to get all table names from a database?
- How to get a value from the last inserted row? [duplicate]
- How to test code dependent on environment variables using JUnit?
- How is driver class located in JDBC4
- How to unit test abstract classes: extend with stubs?
- How to write junit tests for interfaces?
- Setting Network Timeout for JDBC connection
- junit & java : testing non-public methods [duplicate]
- how to get list of Databases “Schema” names of MySql using java JDBC
- com.mysql.jdbc.PacketTooBigException
- how to copy data from file to PostgreSQL using JDBC?
- Does a ResultSet load all data into memory or only when requested?
- Cleanup after all junit tests
- Java PreparedStatement UTF-8 character problem
- JUnit: new instance before invoking each @Test method. What are the benefits?
- How to mock a static method from JMockit
- com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
- Show JDBC ResultSet in HTML in JSP page using MVC and DAO pattern
- How to establish a connection pool in JDBC?
- How do I get my Maven Integration tests to run
- Why does autoReconnect=true not seem to work?
- Overriding Binding in Guice
- How does Class.forName() work?
- JDBC returning MySQLSyntaxError Exception with correct statement
- Save child objects automatically using JPA Hibernate
- Connection cannot be cast to oracle.jdbc.OracleConnection
- Performance of MySQL Insert statements in Java: Batch mode prepared statements vs single insert with multiple values