changing from postgresql to hsqldb