ITeacher teacher = persistentTeacher.readByNumber(infoTeachingCareer.getInfoTeacher().getTeacherNumber());
ITeacher teacher = (ITeacher) persistentTeacher.readByOID(Teacher.class, infoTeachingCareer.getInfoTeacher().getIdInternal());
    protected void copyInformationFromInfoToDomain(ISuportePersistente sp, InfoObject infoObject, IDomainObject domainObject) throws ExcepcaoPersistencia {        if (infoObject instanceof InfoProfessionalCareer) {        	IProfessionalCareer professionalCareer = (IProfessionalCareer) domainObject;        	InfoProfessionalCareer infoProfessionalCareer = (InfoProfessionalCareer)infoObject;        	        	professionalCareer.setBeginYear(infoProfessionalCareer.getBeginYear());        	professionalCareer.setEndYear(infoProfessionalCareer.getEndYear());        	professionalCareer.setEntity(infoProfessionalCareer.getEntity());        	professionalCareer.setFunction(infoProfessionalCareer.getFunction());        	professionalCareer.setLastModificationDate(infoProfessionalCareer.getLastModificationDate());        	professionalCareer.setOjbConcreteClass(ProfessionalCareer.class.getName());        	        	IPersistentTeacher persistentTeacher = sp.getIPersistentTeacher();            ITeacher teacher = persistentTeacher.readByNumber(infoProfessionalCareer.getInfoTeacher().getTeacherNumber());                        professionalCareer.setTeacher(teacher);        }        else {            InfoTeachingCareer infoTeachingCareer = (InfoTeachingCareer) infoObject;            ITeachingCareer teachingCareer = (ITeachingCareer) domainObject;            teachingCareer.setBeginYear(infoTeachingCareer.getBeginYear());            IPersistentCategory persistentCategory = sp.getIPersistentCategory();            ICategory category = (ICategory)persistentCategory.readByOID(Category.class,infoTeachingCareer.getInfoCategory().getIdInternal());                        teachingCareer.setCategory(category);            teachingCareer.setCourseOrPosition(infoTeachingCareer.getCourseOrPosition());            teachingCareer.setEndYear(infoTeachingCareer.getEndYear());            teachingCareer.setLastModificationDate(infoTeachingCareer.getLastModificationDate());            teachingCareer.setOjbConcreteClass(TeachingCareer.class.getName());                        IPersistentTeacher persistentTeacher = sp.getIPersistentTeacher();            ITeacher teacher = persistentTeacher.readByNumber(infoTeachingCareer.getInfoTeacher().getTeacherNumber());            teachingCareer.setTeacher(teacher);        }	}