After establishing our own library for using either HSQL or H2 databases for Unit testing I’ve found that Spring provides a really simple way to do this already. I’m not sure at what point they added it but it appears to be there now.
This means you can not just H2 and HSQL but also DERBY.
The following is the entry you can use:
in your spring config files. So far I’ve found that IDEA picks this up and allows you to include the xsd details you need same as importing packages in a class.
In case it doesn’t you can try adding the following: