Added generateReadProcedureFromHash to databases