Adding Database functionality for HSQL