Updated ActivateCase.java and CaseDAO.java