Refactoring the InOutParameterDAO