I have to clone tables from an existing database somehow in order to run unit tests. The ideal solution would be something - a Maven plugin or Spring bean - that would clone the database tables into a HSQL database, which I could then hit with my JUnit tests.
What is the most straightforward way to do this?