Long specialityCode = (new Long(request.getInput("specialityCode"))).longValue();
MedicalSpeciality speciality = facade.searchSpecialitiesByCode(specialityCode);
//#if relacional
speciality.addObserver(facade); //thiago alterou aqui
//#endif
request.put(SPECIALITY, speciality);
out.println("Update Medical Speciality");