fix the hsql adapter