I am using HSQL as my in memory test db for running integration tests.
In production, I have an oracle 10g database. The idea is to run the db create scripts that I used to
1. Terminate each of the SQL statements (insert, create, select etc)
within the script (some_script.sql) with /;
2. Whilst configuring in Spring - add the following:
return new EmbeddedDatabaseBuilder()
.setType("HSQL")
.setName("DBNAME")
.addScript("some_script.sql")
.setSeparator("/;")
.build();