[Qiushi] implement hsql as in memory database for unit test