I am attempting to do unit testing of my DAO (using Spring and Hibernate). I am using HSQLDB per this tutorial. The tutorial states that the in-memory HSQLDB database can be
Nicholas answer is perfectly fine, but you can use jdbc namespace to initialize external database as well:
jdbc