How to initialize in-memory HSQLDB using script via Spring

前端 未结 5 1499
死守一世寂寞
死守一世寂寞 2020-12-12 15:29

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

5条回答
  •  心在旅途
    2020-12-12 16:13

    Nicholas answer is perfectly fine, but you can use jdbc namespace to initialize external database as well:

    
    
    
        
    
    

提交回复
热议问题