I use hsqldb to run my unit tests that need a database access.
For the moment, when I want to create a table for a specific test, I have the following c
since you're already using spring, you might want to use the SimpleJdbcUtils.executeSQLScript method which executes an SQL script where the statements are separated with semicolon. this class is in the spring-test module (JAR).