JUnit « hsqldb « Java Database Q&A





1. Creating JUnit tests for database items with auto generated keys    stackoverflow.com

I have a class with a primary key that is stored in a database. When creating a new instance of the class it can either be fetched from the HSQLDB database ...

2. How to test sql scripts are standard sql in junit tests?    stackoverflow.com

Is there any way to test that SQL scripts contain standard SQL with java/junit tests? Currently we have sql scripts for creating a database etc. in a Postgres db, but when using ...

3. JUnit tests with Hypersonic database    stackoverflow.com

Can anyone guide me to an url or resource where I can find how to write JUnit tests with a Hypersonic Database?