private void updateParameter(StudyParameterValueDAO spvdao, StudyParameterValueBean spv) {
   StudyParameterValueBean spv1 =
       spvdao.findByHandleAndStudy(spv.getStudyId(), spv.getParameter());
   if (spv1.getId() > 0) {
     spvdao.update(spv);
   } else {
     spvdao.create(spv);
   }
 }
 private void updateParameter(StudyParameterValueDAO spvdao, StudyParameterValueBean spv) {
   StudyParameterValueBean spv1 =
       spvdao.findByHandleAndStudy(spv.getStudyId(), spv.getParameter());
   System.out.println("found parameter: " + spv.getParameter());
   if (spv1.getId() > 0) {
     spvdao.update(spv);
     System.out.println("updating");
   } else {
     spvdao.create(spv);
     System.out.println("creating");
   }
 }