ObjNote objNote = objNoteDAO.getExecutionNotes(new Integer(objectid), execIdentifier);
if(objNote!=null) {
objNote.setContent(notes.getBytes());
objNote.setExecReq(execIdentifier);
if(errorHandler.isOKBySeverity(EMFErrorSeverity.ERROR)) {
objNoteDAO.modifyExecutionNotes(objNote);
}
} else {
objNote = new ObjNote();
objNote.setContent(notes.getBytes());