set autocommit = 0;
begin;

select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Alumni';
update ALUMNI set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.AlumniIdentityCheckRequest';
update ALUMNI_IDENTITY_CHECK_REQUEST set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE_TIME = CREATION_DATE_TIME, DECISION_DATE_TIME = DECISION_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Attends';
update ATTENDS set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.BibliographicReference';
update BIBLIOGRAPHIC_REFERENCE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Branch';
update BRANCH set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.BusinessArea';
update BUSINESS_AREA set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.CandidateEnrolment';
update CANDIDATE_ENROLMENT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.CandidateSituation';
update CANDIDATE_SITUATION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.CompetenceCourse';
update COMPETENCE_COURSE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Contributor';
update CONTRIBUTOR set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Coordinator';
update COORDINATOR set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.CoordinatorExecutionDegreeCoursesReport';
update COORDINATOR_EXECUTION_DEGREE_COURSES_REPORT set OID = (@xpto << 32) + ID_INTERNAL, LAST_EDITION_DATE = LAST_EDITION_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.CostCenter';
update COST_CENTER set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Country';
update COUNTRY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.CourseLoad';
update COURSE_LOAD set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.CreditsInAnySecundaryArea';
update CREDITS_IN_ANY_SECUNDARY_AREA set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.CreditsInScientificArea';
update CREDITS_IN_SCIENTIFIC_AREA set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.CurricularCourseEquivalence';
update CURRICULAR_COURSE_EQUIVALENCE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.CurricularCourseScope';
update CURRICULAR_COURSE_SCOPE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.CurricularSemester';
update CURRICULAR_SEMESTER set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.CurricularYear';
update CURRICULAR_YEAR set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Curriculum';
update CURRICULUM set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFICATION_DATE_DATE_TIME = LAST_MODIFICATION_DATE_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.DegreeContext';
update DEGREE_CONTEXT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.DegreeInfo';
update DEGREE_INFO set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.DegreeInfoCandidacy';
update DEGREE_INFO_CANDIDACY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.DegreeInfoFuture';
update DEGREE_INFO_FUTURE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.DeleteFileLog';
update DELETE_FILE_LOG set OID = (@xpto << 32) + ID_INTERNAL, REQUEST_TIME = REQUEST_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.DeleteFileRequest';
update DELETE_FILE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Department';
update DEPARTMENT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.DeployNotifier';
update DEPLOY_NOTIFIER set OID = (@xpto << 32) + ID_INTERNAL, TIME_STAMP = TIME_STAMP;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.District';
update DISTRICT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.DistrictSubdivision';
update DISTRICT_SUBDIVISION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.DomainObjectActionLog';
update DOMAIN_OBJECT_ACTION_LOG set OID = (@xpto << 32) + ID_INTERNAL, INSTANT = INSTANT;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.DomainObjectActionLogEntry';
update DOMAIN_OBJECT_ACTION_LOG_ENTRY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.EducationArea';
update EDUCATION_AREA set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Employee';
update EMPLOYEE set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE = CREATION_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.EmployeeHistoric';
update EMPLOYEE_HISTORIC set OID = (@xpto << 32) + ID_INTERNAL, WHEN_DATE_TIME = WHEN_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.EnrolmentEvaluation';
update ENROLMENT_EVALUATION set OID = (@xpto << 32) + ID_INTERNAL, WHEN_DATE_TIME = WHEN_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.EquivalencePlanEntry';
update EQUIVALENCE_PLAN_ENTRY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.EvaluationMethod';
update EVALUATION_METHOD set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ExecutionCourse';
update EXECUTION_COURSE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ExecutionDegree';
update EXECUTION_DEGREE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ExpectationEvaluationGroup';
update EXPECTATION_EVALUATION_GROUP set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ExportGrouping';
update EXPORT_GROUPING set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ExternalCurricularCourse';
update EXTERNAL_CURRICULAR_COURSE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.FileLocalContent';
update FILE_LOCAL_CONTENT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.FileLocalContentMetadata';
update FILE_LOCAL_CONTENT_METADATA set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.GenericEvent';
update GENERIC_EVENT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.GratuitySituation';
update GRATUITY_SITUATION set OID = (@xpto << 32) + ID_INTERNAL, WHEN_DATE_TIME = WHEN_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.GratuityValues';
update GRATUITY_VALUES set OID = (@xpto << 32) + ID_INTERNAL, WHEN_DATE_TIME = WHEN_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Grouping';
update GROUPING set OID = (@xpto << 32) + ID_INTERNAL, ENROLMENT_BEGIN_DAY_DATE_DATE_TIME = ENROLMENT_BEGIN_DAY_DATE_DATE_TIME, ENROLMENT_END_DAY_DATE_DATE_TIME = ENROLMENT_END_DAY_DATE_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Guide';
update GUIDE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.GuideEntry';
update GUIDE_ENTRY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.GuideSituation';
update GUIDE_SITUATION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Holiday';
update HOLIDAY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.InsuranceValue';
update INSURANCE_VALUE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Job';
update JOB set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Lesson';
update LESSON set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.LessonInstance';
update LESSON_INSTANCE set OID = (@xpto << 32) + ID_INTERNAL, BEGIN_DATE_TIME = BEGIN_DATE_TIME, END_DATE_TIME = END_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.LessonPlanning';
update LESSON_PLANNING set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Locality';
update LOCALITY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.LoginAlias';
update LOGIN_ALIAS set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.LoginPeriod';
update LOGIN_PERIOD set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.LoginRequest';
update LOGIN_REQUEST set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ManagementGroups';
update MANAGEMENT_GROUPS set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.MasterDegreeCandidate';
update MASTER_DEGREE_CANDIDATE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.MasterDegreeProofVersion';
update MASTER_DEGREE_PROOF_VERSION set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFICATION_DATE_TIME = LAST_MODIFICATION_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.MasterDegreeThesis';
update MASTER_DEGREE_THESIS set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.MasterDegreeThesisDataVersion';
update MASTER_DEGREE_THESIS_DATA_VERSION set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFICATION_DATE_TIME = LAST_MODIFICATION_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.MetaDomainObject';
update META_DOMAIN_OBJECT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.NonAffiliatedTeacher';
update NON_AFFILIATED_TEACHER set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.OccupationPeriod';
update OCCUPATION_PERIOD set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.PaymentPhase';
update PAYMENT_PHASE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.PersonAccount';
update PERSON_ACCOUNT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.PersonalGroup';
update PERSONAL_GROUP set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Photograph';
update PHOTOGRAPH set OID = (@xpto << 32) + ID_INTERNAL, SUBMISSION = SUBMISSION, STATE_CHANGE = STATE_CHANGE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.PhotographContent';
update PHOTOGRAPH_CONTENT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Price';
update PRICE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Professorship';
update PROFESSORSHIP set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ProjectSubmission';
update PROJECT_SUBMISSION set OID = (@xpto << 32) + ID_INTERNAL, SUBMISSION_DATE_TIME = SUBMISSION_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ProjectSubmissionLog';
update PROJECT_SUBMISSION_LOG set OID = (@xpto << 32) + ID_INTERNAL, SUBMISSION_DATE_TIME = SUBMISSION_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.PunctualRoomsOccupationComment';
update PUNCTUAL_ROOMS_OCCUPATION_COMMENT set OID = (@xpto << 32) + ID_INTERNAL, INSTANT = INSTANT;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.PunctualRoomsOccupationRequest';
update PUNCTUAL_ROOMS_OCCUPATION_REQUEST set OID = (@xpto << 32) + ID_INTERNAL, INSTANT = INSTANT;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.PunctualRoomsOccupationStateInstant';
update PUNCTUAL_ROOMS_OCCUPATION_STATE_INSTANT set OID = (@xpto << 32) + ID_INTERNAL, INSTANT = INSTANT;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.RootDomainObject';
update ROOT_DOMAIN_OBJECT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.SchoolClass';
update SCHOOL_CLASS set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ScientificArea';
update SCIENTIFIC_AREA set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ScientificCommission';
update SCIENTIFIC_COMMISSION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.SecretaryEnrolmentStudent';
update SECRETARY_ENROLMENT_STUDENT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Seminaries.CaseStudy';
update CASE_STUDY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Seminaries.CaseStudyChoice';
update CASE_STUDY_CHOICE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Seminaries.CourseEquivalency';
update COURSE_EQUIVALENCY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Seminaries.Modality';
update MODALITY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Seminaries.Seminary';
update SEMINARY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Seminaries.SeminaryCandidacy';
update SEMINARY_CANDIDACY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Seminaries.Theme';
update THEME set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Shift';
update SHIFT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ShiftEnrolment';
update SHIFT_ENROLMENT set OID = (@xpto << 32) + ID_INTERNAL, CREATED_ON = CREATED_ON;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ShiftProfessorship';
update SHIFT_PROFESSORSHIP set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.SpecialSeasonCode';
update SPECIAL_SEASON_CODE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.StudentCurricularPlan';
update STUDENT_CURRICULAR_PLAN set OID = (@xpto << 32) + ID_INTERNAL, WHEN_DATE_TIME = WHEN_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.StudentGroup';
update STUDENT_GROUP set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Summary';
update SUMMARY set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFIED_DATE_DATE_TIME = LAST_MODIFIED_DATE_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.SupportLesson';
update SUPPORT_LESSON set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Teacher';
update TEACHER set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Tutorship';
update TUTORSHIP set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.UnitFileTag';
update UNIT_FILE_TAG set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.UnitSiteBanner';
update UNIT_SITE_BANNER set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.UnitSiteLink';
update UNIT_SITE_LINK set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.University';
update UNIVERSITY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.User';
update USER set OID = (@xpto << 32) + ID_INTERNAL, CURRENT_LOGIN_DATE_TIME_DATE_TIME = CURRENT_LOGIN_DATE_TIME_DATE_TIME, LAST_LOGIN_DATE_TIME_DATE_TIME = LAST_LOGIN_DATE_TIME_DATE_TIME, LOGOUT_DATE_TIME = LOGOUT_DATE_TIME, PRIVATE_KEY_CREATION = PRIVATE_KEY_CREATION, PRIVATE_KEY_VALIDITY = PRIVATE_KEY_VALIDITY;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.WrittenEvaluationEnrolment';
update WRITTEN_EVALUATION_ENROLMENT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.YearStudentSpecialSeasonCode';
update YEAR_STUDENT_SPECIAL_SEASON_CODE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accessControl.PersistentGroupMembers';
update PERSISTENT_GROUP_MEMBERS set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accessControl.academicAdminOffice.AdministrativeOfficePermissionGroup';
update ADMINISTRATIVE_OFFICE_PERMISSION_GROUP set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.Account';
update ACCOUNT set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE = CREATION_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.CreditNote';
update CREDIT_NOTE set OID = (@xpto << 32) + ID_INTERNAL, WHEN_CREATED = WHEN_CREATED, WHEN_UPDATED = WHEN_UPDATED;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.CreditNoteEntry';
update CREDIT_NOTE_ENTRY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.Discount';
update DISCOUNT set OID = (@xpto << 32) + ID_INTERNAL, WHEN_CREATED = WHEN_CREATED;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.Entry';
update ENTRY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.PaymentCodeMapping';
update PAYMENT_CODE_MAPPING set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.Receipt';
update RECEIPT set OID = (@xpto << 32) + ID_INTERNAL, WHEN_CREATED = WHEN_CREATED, WHEN_UPDATED = WHEN_UPDATED;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.ReceiptPrintVersion';
update RECEIPT_PRINT_VERSION set OID = (@xpto << 32) + ID_INTERNAL, WHEN_CREATED = WHEN_CREATED;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.SibsPaymentFileProcessReport';
update SIBS_PAYMENT_FILE_PROCESS_REPORT set OID = (@xpto << 32) + ID_INTERNAL, WHEN_PROCESSED = WHEN_PROCESSED;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.administrativeOffice.AdministrativeOffice';
update ADMINISTRATIVE_OFFICE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.Assiduousness';
update ASSIDUOUSNESS set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.AssiduousnessCampusHistory';
update ASSIDUOUSNESS_CAMPUS_HISTORY set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFIED_DATE = LAST_MODIFIED_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.AssiduousnessClosedDay';
update ASSIDUOUSNESS_CLOSED_DAY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.AssiduousnessClosedMonth';
update ASSIDUOUSNESS_CLOSED_MONTH set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.AssiduousnessExemption';
update ASSIDUOUSNESS_EXEMPTION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.AssiduousnessExemptionShift';
update ASSIDUOUSNESS_EXEMPTION_SHIFT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.AssiduousnessExtraWork';
update ASSIDUOUSNESS_EXTRA_WORK set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.AssiduousnessRecordMonthIndex';
update ASSIDUOUSNESS_RECORD_MONTH_INDEX set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.AssiduousnessStatus';
update ASSIDUOUSNESS_STATUS set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFIED_DATE = LAST_MODIFIED_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.AssiduousnessStatusHistory';
update ASSIDUOUSNESS_STATUS_HISTORY set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFIED_DATE = LAST_MODIFIED_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.AssiduousnessVacations';
update ASSIDUOUSNESS_VACATIONS set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFIED_DATE = LAST_MODIFIED_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.Card';
update CARD set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.ClockUnit';
update CLOCK_UNIT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.ClosedMonth';
update CLOSED_MONTH set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.ClosedMonthDocument';
update CLOSED_MONTH_DOCUMENT set OID = (@xpto << 32) + ID_INTERNAL, CREATED_WHEN = CREATED_WHEN;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.ClosedMonthJustification';
update CLOSED_MONTH_JUSTIFICATION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.EmployeeExtraWorkAuthorization';
update EMPLOYEE_EXTRA_WORK_AUTHORIZATION set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFIED_DATE = LAST_MODIFIED_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.ExtraWorkAuthorization';
update EXTRA_WORK_AUTHORIZATION set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFIED_DATE = LAST_MODIFIED_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.ExtraWorkRequest';
update EXTRA_WORK_REQUEST set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFIED_DATE = LAST_MODIFIED_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.JustificationMotive';
update JUSTIFICATION_MOTIVE set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFIED_DATE = LAST_MODIFIED_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.Meal';
update MEAL set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.Periodicity';
update PERIODICITY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.Schedule';
update SCHEDULE set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFIED_DATE = LAST_MODIFIED_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.UnitExtraWorkAmount';
update UNIT_EXTRA_WORK_AMOUNT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.UnitExtraWorkMovement';
update UNIT_EXTRA_WORK_MOVEMENT set OID = (@xpto << 32) + ID_INTERNAL, DATE = DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.WorkPeriod';
update WORK_PERIOD set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.WorkSchedule';
update WORK_SCHEDULE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacy.CandidacyDocument';
update CANDIDACY_DOCUMENT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacy.degree.ShiftDistribution';
update SHIFT_DISTRIBUTION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacy.degree.ShiftDistributionEntry';
update SHIFT_DISTRIBUTION_ENTRY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.over23.Over23IndividualCandidacyDegreeEntry';
update OVER23_INDIVIDUAL_CANDIDACY_DEGREE_ENTRY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.cardGeneration.CardGenerationBatch';
update CARD_GENERATION_BATCH set OID = (@xpto << 32) + ID_INTERNAL, CREATED = CREATED, UPDATED = UPDATED, SENT = SENT;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.cardGeneration.CardGenerationEntry';
update CARD_GENERATION_ENTRY set OID = (@xpto << 32) + ID_INTERNAL, CREATED = CREATED;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.cardGeneration.CardGenerationProblem';
update CARD_GENERATION_PROBLEM set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.caseHandling.ProcessLog';
update PROCESS_LOG set OID = (@xpto << 32) + ID_INTERNAL, WHEN_DATE_TIME = WHEN_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.complain.EvaluationComplain';
update EVALUATION_COMPLAIN set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.curricularPeriod.CurricularPeriod';
update CURRICULAR_PERIOD set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.degree.enrollment.NotNeedToEnrollInCurricularCourse';
update NOT_NEED_TO_ENROLL_IN_CURRICULAR_COURSE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.degree.finalProject.TeacherDegreeFinalProjectStudent';
update TEACHER_DEGREE_FINAL_PROJECT_STUDENT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.degreeStructure.CompetenceCourseInformation';
update COMPETENCE_COURSE_INFORMATION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.degreeStructure.CompetenceCourseInformationChangeRequest';
update COMPETENCE_COURSE_INFORMATION_CHANGE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.degreeStructure.CompetenceCourseLoad';
update COMPETENCE_COURSE_LOAD set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.degreeStructure.Context';
update CONTEXT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.elections.DelegateElectionVote';
update DELEGATE_ELECTION_VOTE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.finalDegreeWork.FinalDegreeWorkGroup';
update FINAL_DEGREE_WORK_GROUP set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.finalDegreeWork.GroupProposal';
update GROUP_PROPOSAL set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.finalDegreeWork.GroupStudent';
update GROUP_STUDENT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.finalDegreeWork.Proposal';
update PROPOSAL set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.finalDegreeWork.Scheduleing';
update SCHEDULEING set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.functionalities.ExecutionPath';
update EXECUTION_PATH set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.functionalities.FunctionalityParameter';
update FUNCTIONALITY_PARAMETER set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.gaugingTests.physics.GaugingTestResult';
update GAUGING_TEST_RESULT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.gesdis.CourseHistoric';
update COURSE_HISTORIC set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.gesdis.CourseReport';
update COURSE_REPORT set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFICATION_DATE_DATE_TIME = LAST_MODIFICATION_DATE_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.gesdis.StudentCourseReport';
update STUDENT_COURSE_REPORT set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFICATION_DATE_DATE_TIME = LAST_MODIFICATION_DATE_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.grant.contract.GrantContract';
update GRANT_CONTRACT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.grant.contract.GrantContractMovement';
update GRANT_CONTRACT_MOVEMENT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.grant.contract.GrantContractRegime';
update GRANT_CONTRACT_REGIME set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.grant.contract.GrantInsurance';
update GRANT_INSURANCE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.grant.contract.GrantOrientationTeacher';
update GRANT_ORIENTATION_TEACHER set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.grant.contract.GrantPart';
update GRANT_PART set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.grant.contract.GrantSubsidy';
update GRANT_SUBSIDY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.grant.contract.GrantType';
update GRANT_TYPE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.grant.owner.GrantOwner';
update GRANT_OWNER set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.gratuity.masterDegree.SibsPaymentFile';
update SIBS_PAYMENT_FILE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.gratuity.masterDegree.SibsPaymentFileEntry';
update SIBS_PAYMENT_FILE_ENTRY set OID = (@xpto << 32) + ID_INTERNAL, TRANSACTION_DATE_DATE_TIME = TRANSACTION_DATE_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.inquiries.InquiriesCourse';
update INQUIRIES_COURSE set OID = (@xpto << 32) + ID_INTERNAL, RESPONSE_DATE_TIME = RESPONSE_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.inquiries.InquiriesRegistry';
update INQUIRIES_REGISTRY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.inquiries.InquiriesRoom';
update INQUIRIES_ROOM set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.inquiries.InquiriesStudentExecutionPeriod';
update INQUIRIES_STUDENT_EXECUTION_PERIOD set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.inquiries.InquiriesTeacher';
update INQUIRIES_TEACHER set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.inquiries.InquiryResponsePeriod';
update INQUIRY_RESPONSE_PERIOD set OID = (@xpto << 32) + ID_INTERNAL, BEGIN = BEGIN, END = END;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.inquiries.OldInquiriesCoursesRes';
update OLD_INQUIRIES_COURSES_RES set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.inquiries.OldInquiriesSummary';
update OLD_INQUIRIES_SUMMARY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.inquiries.OldInquiriesTeachersRes';
update OLD_INQUIRIES_TEACHERS_RES set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.inquiries.StudentInquiriesCourseResult';
update STUDENT_INQUIRIES_COURSE_RESULT set OID = (@xpto << 32) + ID_INTERNAL, UPLOAD_DATE_TIME = UPLOAD_DATE_TIME, COURSE_RESULTS_COORDINATOR_COMMENT_DATE = COURSE_RESULTS_COORDINATOR_COMMENT_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.inquiries.StudentInquiriesTeachingResult';
update STUDENT_INQUIRIES_TEACHING_RESULT set OID = (@xpto << 32) + ID_INTERNAL, UPLOAD_DATE_TIME = UPLOAD_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.inquiries.teacher.TeachingInquiry';
update TEACHING_INQUIRY set OID = (@xpto << 32) + ID_INTERNAL, RESPONSE_DATE_TIME = RESPONSE_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.internship.InternshipCandidacy';
update INTERNSHIP_CANDIDACY set OID = (@xpto << 32) + ID_INTERNAL, CANDIDACY_DATE = CANDIDACY_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.library.LibraryCard';
update LIBRARY_CARD set OID = (@xpto << 32) + ID_INTERNAL, CARD_EMITION_DATE = CARD_EMITION_DATE, LETTER_GENERATION_DATE = LETTER_GENERATION_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.log.profiling.ProfileReport';
update PROFILE_REPORT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.log.requests.ErrorLog';
update ERROR_LOG set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.log.requests.ExceptionType';
update EXCEPTION_TYPE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.log.requests.RequestLog';
update REQUEST_LOG set OID = (@xpto << 32) + ID_INTERNAL, REQUEST_TIME = REQUEST_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.log.requests.RequestMapping';
update REQUEST_MAPPING set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.material.PersonExtension';
update PERSON_EXTENSION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.messaging.AnnouncementCategory';
update ANNOUNCEMENT_CATEGORY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.messaging.ForumSubscription';
update FORUM_SUBSCRIPTION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.onlineTests.DistributedTest';
update DISTRIBUTED_TEST set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.onlineTests.Metadata';
update METADATA set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.onlineTests.Question';
update QUESTION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.onlineTests.StudentTestLog';
update STUDENT_TEST_LOG set OID = (@xpto << 32) + ID_INTERNAL, DATE_DATE_TIME = DATE_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.onlineTests.StudentTestQuestion';
update STUDENT_TEST_QUESTION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.onlineTests.Test';
update TEST set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE_DATE_TIME = CREATION_DATE_DATE_TIME, LAST_MODIFIED_DATE_DATE_TIME = LAST_MODIFIED_DATE_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.onlineTests.TestChecksum';
update TEST_CHECKSUM set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.onlineTests.TestQuestion';
update TEST_QUESTION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.onlineTests.TestScope';
update TEST_SCOPE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.ConnectionRule';
update CONNECTION_RULE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.PartySocialSecurityNumber';
update PARTY_SOCIAL_SECURITY_NUMBER set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.PartyType';
update PARTY_TYPE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.UnitAcronym';
update UNIT_ACRONYM set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.UnitCostCenterCode';
update UNIT_COST_CENTER_CODE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.UnitName';
update UNIT_NAME set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.UnitNamePart';
update UNIT_NAME_PART set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.parking.NewParkingDocument';
update NEW_PARKING_DOCUMENT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.parking.ParkingGroup';
update PARKING_GROUP set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.parking.ParkingParty';
update PARKING_PARTY set OID = (@xpto << 32) + ID_INTERNAL, CARD_END_DATE = CARD_END_DATE, CARD_START_DATE = CARD_START_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.parking.ParkingPartyHistory';
update PARKING_PARTY_HISTORY set OID = (@xpto << 32) + ID_INTERNAL, CARD_END_DATE = CARD_END_DATE, CARD_START_DATE = CARD_START_DATE, HISTORY_DATE = HISTORY_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.parking.ParkingRequest';
update PARKING_REQUEST set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE = CREATION_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.parking.ParkingRequestPeriod';
update PARKING_REQUEST_PERIOD set OID = (@xpto << 32) + ID_INTERNAL, BEGIN_DATE = BEGIN_DATE, END_DATE = END_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.parking.Vehicle';
update VEHICLE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.person.IdDocument';
update ID_DOCUMENT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.person.IdDocumentTypeObject';
update ID_DOCUMENT_TYPE_OBJECT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.person.PersonName';
update PERSON_NAME set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.person.PersonNamePart';
update PERSON_NAME_PART set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.personnelSection.contracts.ContractSituation';
update CONTRACT_SITUATION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.personnelSection.contracts.EmployeeContractSituation';
update EMPLOYEE_CONTRACT_SITUATION set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE = CREATION_DATE, MODIFIED_DATE = MODIFIED_DATE, IMPORTATION_DATE = IMPORTATION_DATE, ANULATION_DATE = ANULATION_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.personnelSection.contracts.EmployeeFunctionsAccumulation';
update EMPLOYEE_FUNCTIONS_ACCUMULATION set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE = CREATION_DATE, MODIFIED_DATE = MODIFIED_DATE, IMPORTATION_DATE = IMPORTATION_DATE, ANULATION_DATE = ANULATION_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.personnelSection.contracts.EmployeeProfessionalCategory';
update EMPLOYEE_PROFESSIONAL_CATEGORY set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE = CREATION_DATE, MODIFIED_DATE = MODIFIED_DATE, IMPORTATION_DATE = IMPORTATION_DATE, ANULATION_DATE = ANULATION_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.personnelSection.contracts.EmployeeProfessionalContract';
update EMPLOYEE_PROFESSIONAL_CONTRACT set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE = CREATION_DATE, MODIFIED_DATE = MODIFIED_DATE, IMPORTATION_DATE = IMPORTATION_DATE, ANULATION_DATE = ANULATION_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.personnelSection.contracts.EmployeeProfessionalRegime';
update EMPLOYEE_PROFESSIONAL_REGIME set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE = CREATION_DATE, MODIFIED_DATE = MODIFIED_DATE, IMPORTATION_DATE = IMPORTATION_DATE, ANULATION_DATE = ANULATION_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.personnelSection.contracts.EmployeeProfessionalRelation';
update EMPLOYEE_PROFESSIONAL_RELATION set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE = CREATION_DATE, MODIFIED_DATE = MODIFIED_DATE, IMPORTATION_DATE = IMPORTATION_DATE, ANULATION_DATE = ANULATION_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.personnelSection.contracts.FunctionsAccumulation';
update FUNCTIONS_ACCUMULATION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.personnelSection.contracts.GrantOwnerEquivalent';
update GRANT_OWNER_EQUIVALENT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.personnelSection.contracts.ProfessionalCategory';
update PROFESSIONAL_CATEGORY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.personnelSection.contracts.ProfessionalRegime';
update PROFESSIONAL_REGIME set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.personnelSection.contracts.ProfessionalRelation';
update PROFESSIONAL_RELATION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.personnelSection.contracts.ServiceExemption';
update SERVICE_EXEMPTION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.personnelSection.payrollSection.bonus.AnualBonusInstallment';
update ANUAL_BONUS_INSTALLMENT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.personnelSection.payrollSection.bonus.EmployeeBonusInstallment';
update EMPLOYEE_BONUS_INSTALLMENT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.personnelSection.payrollSection.bonus.EmployeeMonthlyBonusInstallment';
update EMPLOYEE_MONTHLY_BONUS_INSTALLMENT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.PhdIndividualProgramProcessNumber';
update PHD_INDIVIDUAL_PROGRAM_PROCESS_NUMBER set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.PhdProgram';
update PHD_PROGRAM set OID = (@xpto << 32) + ID_INTERNAL, WHEN_CREATED = WHEN_CREATED;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.PhdProgramFocusArea';
update PHD_PROGRAM_FOCUS_AREA set OID = (@xpto << 32) + ID_INTERNAL, WHEN_CREATED = WHEN_CREATED;
-- select @xpto:=null;
-- select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.PhdStudyPlan';
-- update PHD_STUDY_PLAN set OID = (@xpto << 32) + ID_INTERNAL, WHEN_CREATED = WHEN_CREATED;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.alert.PhdAlertMessage';
update PHD_ALERT_MESSAGE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.candidacy.PhdCandidacyRefereeLetter';
update PHD_CANDIDACY_REFEREE_LETTER set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.precedences.Precedence';
update PRECEDENCE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.projectsManagement.ProjectAccess';
update PROJECT_ACCESS set OID = (@xpto << 32) + ID_INTERNAL, BEGIN_DATE_TIME = BEGIN_DATE_TIME, END_DATE_TIME = END_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.protocols.Protocol';
update PROTOCOL set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.protocols.ProtocolHistory';
update PROTOCOL_HISTORY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reimbursementGuide.ReimbursementGuide';
update REIMBURSEMENT_GUIDE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reimbursementGuide.ReimbursementGuideEntry';
update REIMBURSEMENT_GUIDE_ENTRY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reimbursementGuide.ReimbursementGuideSituation';
update REIMBURSEMENT_GUIDE_SITUATION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.Prize';
update PRIZE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.ResearchInterest';
update RESEARCH_INTEREST set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.Researcher';
update RESEARCHER set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.activity.ArticleAssociation';
update ARTICLE_ASSOCIATION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.activity.Cooperation';
update COOPERATION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.activity.EventConferenceArticlesAssociation';
update EVENT_CONFERENCE_ARTICLES_ASSOCIATION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.activity.EventEdition';
update EVENT_EDITION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.activity.JournalIssue';
update JOURNAL_ISSUE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.activity.ResearchEvent';
update RESEARCH_EVENT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.activity.ScientificJournal';
update SCIENTIFIC_JOURNAL set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.project.Project';
update PROJECT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.project.ProjectEventAssociation';
update PROJECT_EVENT_ASSOCIATION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.project.ProjectParticipation';
update PROJECT_PARTICIPATION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.result.ResultParticipation';
update RESULT_PARTICIPATION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.result.ResultTeacher';
update RESULT_TEACHER set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.result.ResultUnitAssociation';
update RESULT_UNIT_ASSOCIATION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.residence.ResidenceMonth';
update RESIDENCE_MONTH set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.residence.ResidencePriceTable';
update RESIDENCE_PRICE_TABLE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.residence.ResidenceYear';
update RESIDENCE_YEAR set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.AcademicServiceRequestYear';
update ACADEMIC_SERVICE_REQUEST_YEAR set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.Blueprint';
update BLUEPRINT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.RoomClassification';
update ROOM_CLASSIFICATION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.ExternalRegistrationData';
update EXTERNAL_REGISTRATION_DATA set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.PrecedentDegreeInformation';
update PRECEDENT_DEGREE_INFORMATION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.Registration';
update REGISTRATION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.RegistrationDataByExecutionYear';
update REGISTRATION_DATA_BY_EXECUTION_YEAR set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.RegistrationNumber';
update REGISTRATION_NUMBER set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.RegistrationRegime';
update REGISTRATION_REGIME set OID = (@xpto << 32) + ID_INTERNAL, WHEN_CREATED = WHEN_CREATED;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.ResidenceCandidacies';
update RESIDENCE_CANDIDACIES set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE_DATE_TIME = CREATION_DATE_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.Senior';
update SENIOR set OID = (@xpto << 32) + ID_INTERNAL, EXPECTED_DEGREE_TERMINATION_DATE_TIME = EXPECTED_DEGREE_TERMINATION_DATE_TIME, LAST_MODIFICATION_DATE_DATE_TIME = LAST_MODIFICATION_DATE_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.Student';
update STUDENT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.StudentDataByExecutionYear';
update STUDENT_DATA_BY_EXECUTION_YEAR set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.StudentStatute';
update STUDENT_STATUTE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.WeeklyWorkLoad';
update WEEKLY_WORK_LOAD set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.YearDelegateCourseInquiry';
update YEAR_DELEGATE_COURSE_INQUIRY set OID = (@xpto << 32) + ID_INTERNAL, RESPONSE_DATE_TIME = RESPONSE_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.curriculum.ConclusionProcessVersion';
update CONCLUSION_PROCESS_VERSION set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE_TIME = CREATION_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.studentCurriculum.ExternalEnrolment';
update EXTERNAL_ENROLMENT set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE_DATE_TIME = CREATION_DATE_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.support.FAQEntry';
update F_A_Q_ENTRY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.support.FAQSection';
update F_A_Q_SECTION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.support.GlossaryEntry';
update GLOSSARY_ENTRY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.system.CronRegistry';
update CRON_REGISTRY set OID = (@xpto << 32) + ID_INTERNAL, BUILD_VERSION = BUILD_VERSION;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.system.CronScriptInvocation';
update CRON_SCRIPT_INVOCATION set OID = (@xpto << 32) + ID_INTERNAL, END_TIME = END_TIME, START_TIME = START_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.system.CronScriptState';
update CRON_SCRIPT_STATE set OID = (@xpto << 32) + ID_INTERNAL, REGISTRATION_DATE = REGISTRATION_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.Advise';
update ADVISE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.Category';
update CATEGORY set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.ExternalActivity';
update EXTERNAL_ACTIVITY set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFICATION_DATE_DATE_TIME = LAST_MODIFICATION_DATE_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.OldPublication';
update OLD_PUBLICATION set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFICATION_DATE_DATE_TIME = LAST_MODIFICATION_DATE_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.Orientation';
update ORIENTATION set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFICATION_DATE_DATE_TIME = LAST_MODIFICATION_DATE_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.PublicationsNumber';
update PUBLICATIONS_NUMBER set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFICATION_DATE_DATE_TIME = LAST_MODIFICATION_DATE_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.ServiceProviderRegime';
update SERVICE_PROVIDER_REGIME set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFICATION_DATE_DATE_TIME = LAST_MODIFICATION_DATE_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.TeacherPersonalExpectation';
update TEACHER_PERSONAL_EXPECTATION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.TeacherService';
update TEACHER_SERVICE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.WeeklyOcupation';
update WEEKLY_OCUPATION set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFICATION_DATE_DATE_TIME = LAST_MODIFICATION_DATE_DATE_TIME;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.workTime.TeacherInstitutionWorkTime';
update TEACHER_INSTITUTION_WORK_TIME set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacherServiceDistribution.TSDCurricularLoad';
update T_S_D_CURRICULAR_LOAD set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacherServiceDistribution.TSDProcess';
update T_S_D_PROCESS set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacherServiceDistribution.TSDProcessPhase';
update T_S_D_PROCESS_PHASE set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacherServiceDistribution.TSDProfessorship';
update T_S_D_PROFESSORSHIP set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacherServiceDistribution.TeacherServiceDistribution';
update TEACHER_SERVICE_DISTRIBUTION set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewAnswer';
update NEW_ANSWER set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewCorrector';
update NEW_CORRECTOR set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewGroupElement';
update NEW_GROUP_ELEMENT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewPermissionUnit';
update NEW_PERMISSION_UNIT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewTestGroup';
update NEW_TEST_GROUP set OID = (@xpto << 32) + ID_INTERNAL, BEGIN_DATE = BEGIN_DATE, FINAL_DATE = FINAL_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.thesis.Thesis';
update THESIS set OID = (@xpto << 32) + ID_INTERNAL, APPROVAL = APPROVAL, CONFIRMATION = CONFIRMATION, CREATION = CREATION, DECLARATION_ACCEPTED_TIME = DECLARATION_ACCEPTED_TIME, PROPOSED_DISCUSSED = PROPOSED_DISCUSSED, DISCUSSED = DISCUSSED, DOCUMENTS_AVAILABLE_AFTER = DOCUMENTS_AVAILABLE_AFTER, EVALUATION = EVALUATION, SUBMISSION = SUBMISSION, CONFIRMMED_DOCUMENTS = CONFIRMMED_DOCUMENTS;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.thesis.ThesisEvaluationParticipant';
update THESIS_EVALUATION_PARTICIPANT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.util.Email';
update EMAIL set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.util.FunctionalityPrinters';
update FUNCTIONALITY_PRINTERS set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.util.UsernameCounter';
update USERNAME_COUNTER set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.util.email.Message';
update MESSAGE set OID = (@xpto << 32) + ID_INTERNAL, CREATED = CREATED, SENT = SENT;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.util.email.Recipient';
update RECIPIENT set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.vigilancy.ExamCoordinator';
update EXAM_COORDINATOR set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.vigilancy.UnavailablePeriod';
update UNAVAILABLE_PERIOD set OID = (@xpto << 32) + ID_INTERNAL, BEGIN_DATE = BEGIN_DATE, END_DATE = END_DATE;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.vigilancy.VigilantGroup';
update VIGILANT_GROUP set OID = (@xpto << 32) + ID_INTERNAL, BEGIN_OF_FIRST_PERIOD_FOR_UNAVAILABLE_PERIODS = BEGIN_OF_FIRST_PERIOD_FOR_UNAVAILABLE_PERIODS, BEGIN_OF_SECOND_PERIOD_FOR_UNAVAILABLE_PERIODS = BEGIN_OF_SECOND_PERIOD_FOR_UNAVAILABLE_PERIODS, END_OF_FIRST_PERIOD_FOR_UNAVAILABLE_PERIODS = END_OF_FIRST_PERIOD_FOR_UNAVAILABLE_PERIODS, END_OF_SECOND_PERIOD_FOR_UNAVAILABLE_PERIODS = END_OF_SECOND_PERIOD_FOR_UNAVAILABLE_PERIODS;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.vigilancy.VigilantWrapper';
update VIGILANT_WRAPPER set OID = (@xpto << 32) + ID_INTERNAL;
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.AdHocEvaluation';
update EVALUATION set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE_TIME = CREATION_DATE_TIME where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.AdHocEvaluation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.AssemblySite';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.AssemblySite';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.CandidacyPeriodInDegreeCurricularPlan';
update ENROLMENT_PERIOD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.CandidacyPeriodInDegreeCurricularPlan';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.CurricularCourse';
update DEGREE_MODULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.CurricularCourse';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Degree';
update DEGREE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.Degree';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.DegreeCurricularPlan';
update DEGREE_CURRICULAR_PLAN set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.DegreeCurricularPlan';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.DegreeCurricularPlanEquivalencePlan';
update EQUIVALENCE_PLAN set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.DegreeCurricularPlanEquivalencePlan';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.DegreeSite';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.DegreeSite';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.DepartmentSite';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.DepartmentSite';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.EmployeeProfessionalSituation';
update PROFESSIONAL_SITUATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.EmployeeProfessionalSituation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.EmptyDegree';
update DEGREE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.EmptyDegree';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.EmptyDegreeCurricularPlan';
update DEGREE_CURRICULAR_PLAN set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.EmptyDegreeCurricularPlan';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Enrolment';
update CURRICULUM_MODULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.Enrolment';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.EnrolmentInOptionalCurricularCourse';
update CURRICULUM_MODULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.EnrolmentInOptionalCurricularCourse';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.EnrolmentPeriod';
update ENROLMENT_PERIOD set OID = (@xpto << 32) + ID_INTERNAL, END_DATE_DATE_TIME = END_DATE_DATE_TIME, START_DATE_DATE_TIME = START_DATE_DATE_TIME where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.EnrolmentPeriod';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.EnrolmentPeriodInClasses';
update ENROLMENT_PERIOD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.EnrolmentPeriodInClasses';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.EnrolmentPeriodInCurricularCourses';
update ENROLMENT_PERIOD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.EnrolmentPeriodInCurricularCourses';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.EnrolmentPeriodInCurricularCoursesSpecialSeason';
update ENROLMENT_PERIOD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.EnrolmentPeriodInCurricularCoursesSpecialSeason';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.EnrolmentPeriodInImprovementOfApprovedEnrolment';
update ENROLMENT_PERIOD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.EnrolmentPeriodInImprovementOfApprovedEnrolment';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.EquivalencePlan';
update EQUIVALENCE_PLAN set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.EquivalencePlan';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Evaluation';
update EVALUATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.Evaluation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Exam';
update EVALUATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.Exam';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ExecutionCourseSite';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.ExecutionCourseSite';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ExecutionInterval';
update EXECUTION_INTERVAL set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.ExecutionInterval';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ExecutionSemester';
update EXECUTION_INTERVAL set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.ExecutionSemester';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ExecutionYear';
update EXECUTION_INTERVAL set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.ExecutionYear';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ExternalDegreeEnrolment';
update CURRICULUM_MODULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.ExternalDegreeEnrolment';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.File';
update FILE set OID = (@xpto << 32) + ID_INTERNAL, UPLOAD_TIME = UPLOAD_TIME where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.File';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.FileContent';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.FileContent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.FinalEvaluation';
update EVALUATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.FinalEvaluation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.FinalMark';
update MARK set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.FinalMark';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Formation';
update QUALIFICATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.Formation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Identification';
update IDENTIFICATION set OID = (@xpto << 32) + ID_INTERNAL, BEGIN_DATE_DATE_TIME = BEGIN_DATE_DATE_TIME, END_DATE_DATE_TIME = END_DATE_DATE_TIME where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.Identification';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.InstitutionSite';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.InstitutionSite';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Item';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.Item';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Login';
update IDENTIFICATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.Login';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ManagementCouncilSite';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.ManagementCouncilSite';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Mark';
update MARK set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.Mark';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.MarkSheet';
update MARK_SHEET set OID = (@xpto << 32) + ID_INTERNAL, CONFIRMATION_DATE_DATE_TIME = CONFIRMATION_DATE_DATE_TIME, CREATION_DATE_DATE_TIME = CREATION_DATE_DATE_TIME, EVALUATION_DATE_DATE_TIME = EVALUATION_DATE_DATE_TIME where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.MarkSheet';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.OldMarkSheet';
update MARK_SHEET set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.OldMarkSheet';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.OptionalEnrolment';
update CURRICULUM_MODULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.OptionalEnrolment';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.PedagogicalCouncilSite';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.PedagogicalCouncilSite';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Person';
update PARTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.Person';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ProfessionalSituation';
update PROFESSIONAL_SITUATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.ProfessionalSituation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Project';
update EVALUATION set OID = (@xpto << 32) + ID_INTERNAL, PROJECT_BEGIN_DATE_TIME = PROJECT_BEGIN_DATE_TIME, PROJECT_END_DATE_TIME = PROJECT_END_DATE_TIME where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.Project';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ProjectSubmissionFile';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.ProjectSubmissionFile';
-- select @xpto:=null;
-- select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.PublicCandidacyHashCode';
-- update PUBLIC_CANDIDACY_HASH_CODE set OID = (@xpto << 32) + ID_INTERNAL, WHEN_CREATED = WHEN_CREATED where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.PublicCandidacyHashCode';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.PublicRelationsStudentListQueueJob';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.PublicRelationsStudentListQueueJob';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Qualification';
update QUALIFICATION set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFICATION_DATE_DATE_TIME = LAST_MODIFICATION_DATE_DATE_TIME where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.Qualification';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.QueueJob';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL, REQUEST_DATE = REQUEST_DATE, JOB_START_TIME = JOB_START_TIME, JOB_END_TIME = JOB_END_TIME where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.QueueJob';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.QueueJobResultFile';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.QueueJobResultFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.QueueJobWithFile';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.QueueJobWithFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.RegistrationPeriodInDegreeCurricularPlan';
update ENROLMENT_PERIOD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.RegistrationPeriodInDegreeCurricularPlan';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ResearchUnitSite';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.ResearchUnitSite';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ResourceAllocationRole';
update ROLE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.ResourceAllocationRole';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Role';
update ROLE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.Role';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ScientificAreaSite';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.ScientificAreaSite';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.ScientificCouncilSite';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.ScientificCouncilSite';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Section';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.Section';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.Site';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.Site';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.StudentCurricularPlanEquivalencePlan';
update EQUIVALENCE_PLAN set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.StudentCurricularPlanEquivalencePlan';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.StudentsSite';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.StudentsSite';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.TeacherAutoEvaluationDefinitionPeriod';
update TEACHER_PERSONAL_EXPECTATION_PERIOD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.TeacherAutoEvaluationDefinitionPeriod';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.TeacherExpectationDefinitionPeriod';
update TEACHER_PERSONAL_EXPECTATION_PERIOD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.TeacherExpectationDefinitionPeriod';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.TeacherPersonalExpectationPeriod';
update TEACHER_PERSONAL_EXPECTATION_PERIOD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.TeacherPersonalExpectationPeriod';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.TeacherPersonalExpectationsEvaluationPeriod';
update TEACHER_PERSONAL_EXPECTATION_PERIOD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.TeacherPersonalExpectationsEvaluationPeriod';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.TeacherPersonalExpectationsVisualizationPeriod';
update TEACHER_PERSONAL_EXPECTATION_PERIOD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.TeacherPersonalExpectationsVisualizationPeriod';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.TutorSite';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.TutorSite';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.UnitFile';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.UnitFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.UnitSite';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.UnitSite';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.UnitSiteBannerFile';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.UnitSiteBannerFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.UnitSiteFile';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.UnitSiteFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.WrittenEvaluation';
update EVALUATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.WrittenEvaluation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.WrittenTest';
update EVALUATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.WrittenTest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accessControl.academicAdminOffice.AdministrativeOfficePermission';
update ADMINISTRATIVE_OFFICE_PERMISSION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accessControl.academicAdminOffice.AdministrativeOfficePermission';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accessControl.academicAdminOffice.GenericAdministrativeOfficePermission';
update ADMINISTRATIVE_OFFICE_PERMISSION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accessControl.academicAdminOffice.GenericAdministrativeOfficePermission';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accessControl.academicAdminOffice.UpdateRegistrationAfterConclusionPermission';
update ADMINISTRATIVE_OFFICE_PERMISSION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accessControl.academicAdminOffice.UpdateRegistrationAfterConclusionPermission';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.AcademicEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.AcademicEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.AccountingTransaction';
update ACCOUNTING_TRANSACTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.AccountingTransaction';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.AccountingTransactionDetail';
update ACCOUNTING_TRANSACTION_DETAIL set OID = (@xpto << 32) + ID_INTERNAL, WHEN_PROCESSED = WHEN_PROCESSED, WHEN_REGISTERED = WHEN_REGISTERED where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.AccountingTransactionDetail';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.Event';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL, EVENT_STATE_DATE = EVENT_STATE_DATE, WHEN_OCCURED = WHEN_OCCURED where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.Event';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.Exemption';
update EXEMPTION set OID = (@xpto << 32) + ID_INTERNAL, WHEN_CREATED = WHEN_CREATED where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.Exemption';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.Installment';
update INSTALLMENT set OID = (@xpto << 32) + ID_INTERNAL, WHEN_CREATED = WHEN_CREATED where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.Installment';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.PaymentCode';
update PAYMENT_CODE set OID = (@xpto << 32) + ID_INTERNAL, WHEN_CREATED = WHEN_CREATED, WHEN_UPDATED = WHEN_UPDATED where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.PaymentCode';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.PaymentPlan';
update PAYMENT_PLAN set OID = (@xpto << 32) + ID_INTERNAL, WHEN_CREATED = WHEN_CREATED where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.PaymentPlan';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.PostingRule';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE = CREATION_DATE, END_DATE = END_DATE, START_DATE = START_DATE where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.PostingRule';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.ResidenceEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.ResidenceEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.ServiceAgreement';
update SERVICE_AGREEMENT set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE = CREATION_DATE where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.ServiceAgreement';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.ServiceAgreementPaymentPlan';
update PAYMENT_PLAN set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.ServiceAgreementPaymentPlan';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.ServiceAgreementTemplate';
update SERVICE_AGREEMENT_TEMPLATE set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE = CREATION_DATE where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.ServiceAgreementTemplate';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.ServiceAgreementTemplatePaymentPlan';
update PAYMENT_PLAN set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.ServiceAgreementTemplatePaymentPlan';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.accountingTransactions.InstallmentAccountingTransaction';
update ACCOUNTING_TRANSACTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.accountingTransactions.InstallmentAccountingTransaction';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.accountingTransactions.detail.SibsTransactionDetail';
update ACCOUNTING_TRANSACTION_DETAIL set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.accountingTransactions.detail.SibsTransactionDetail';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.AdministrativeOfficeFeeAndInsuranceEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.AdministrativeOfficeFeeAndInsuranceEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.AdministrativeOfficeFeeAndInsuranceExemption';
update EXEMPTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.AdministrativeOfficeFeeAndInsuranceExemption';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.AdministrativeOfficeFeeAndInsuranceExemptionJustification';
update EXEMPTION_JUSTIFICATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.AdministrativeOfficeFeeAndInsuranceExemptionJustification';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.AdministrativeOfficeFeeAndInsuranceExemptionJustificationByDispatch';
update EXEMPTION_JUSTIFICATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.AdministrativeOfficeFeeAndInsuranceExemptionJustificationByDispatch';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.AdministrativeOfficeFeeAndInsurancePenaltyExemption';
update EXEMPTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.AdministrativeOfficeFeeAndInsurancePenaltyExemption';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.AnnualEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.AnnualEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.EnrolmentOutOfPeriodEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.EnrolmentOutOfPeriodEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.ExemptionJustification';
update EXEMPTION_JUSTIFICATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.ExemptionJustification';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.ImprovementOfApprovedEnrolmentEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.ImprovementOfApprovedEnrolmentEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.ImprovementOfApprovedEnrolmentPenaltyExemption';
update EXEMPTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.ImprovementOfApprovedEnrolmentPenaltyExemption';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.PastAdministrativeOfficeFeeAndInsuranceEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.PastAdministrativeOfficeFeeAndInsuranceEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.PenaltyExemption';
update EXEMPTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.PenaltyExemption';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.PenaltyExemptionJustification';
update EXEMPTION_JUSTIFICATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.PenaltyExemptionJustification';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.candidacy.DegreeCandidacyForGraduatedPersonEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.candidacy.DegreeCandidacyForGraduatedPersonEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.candidacy.DegreeChangeIndividualCandidacyEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.candidacy.DegreeChangeIndividualCandidacyEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.candidacy.DegreeTransferIndividualCandidacyEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.candidacy.DegreeTransferIndividualCandidacyEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.candidacy.IndividualCandidacyEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.candidacy.IndividualCandidacyEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.candidacy.Over23IndividualCandidacyEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.candidacy.Over23IndividualCandidacyEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.candidacy.SecondCycleIndividualCandidacyEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.candidacy.SecondCycleIndividualCandidacyEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.candidacy.SecondCycleIndividualCandidacyExemption';
update EXEMPTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.candidacy.SecondCycleIndividualCandidacyExemption';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.candidacy.SecondCycleIndividualCandidacyExemptionJustification';
update EXEMPTION_JUSTIFICATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.candidacy.SecondCycleIndividualCandidacyExemptionJustification';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.candidacy.StandaloneIndividualCandidacyEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.candidacy.StandaloneIndividualCandidacyEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.dfa.DFACandidacyEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.dfa.DFACandidacyEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.dfa.DfaRegistrationEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.dfa.DfaRegistrationEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.gratuity.DfaGratuityEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.gratuity.DfaGratuityEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.gratuity.GratuityEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.gratuity.GratuityEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.gratuity.GratuityEventWithPaymentPlan';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.gratuity.GratuityEventWithPaymentPlan';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.gratuity.GratuityExemption';
update EXEMPTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.gratuity.GratuityExemption';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.gratuity.GratuityExemptionJustification';
update EXEMPTION_JUSTIFICATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.gratuity.GratuityExemptionJustification';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.gratuity.GratuityExemptionJustificationByDispatch';
update EXEMPTION_JUSTIFICATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.gratuity.GratuityExemptionJustificationByDispatch';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.gratuity.PastDegreeGratuityEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.gratuity.PastDegreeGratuityEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.gratuity.PercentageGratuityExemption';
update EXEMPTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.gratuity.PercentageGratuityExemption';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.gratuity.StandaloneEnrolmentGratuityEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.gratuity.StandaloneEnrolmentGratuityEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.gratuity.ValueGratuityExemption';
update EXEMPTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.gratuity.ValueGratuityExemption';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.gratuity.exemption.penalty.InstallmentPenaltyExemption';
update EXEMPTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.gratuity.exemption.penalty.InstallmentPenaltyExemption';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.insurance.InsuranceEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.insurance.InsuranceEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.penaltyExemptionJustifications.PenaltyExemptionJustificationByDispatch';
update EXEMPTION_JUSTIFICATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.penaltyExemptionJustifications.PenaltyExemptionJustificationByDispatch';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.AcademicServiceRequestEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.AcademicServiceRequestEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.BolonhaAdvancedFormationDiplomaRequestEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.BolonhaAdvancedFormationDiplomaRequestEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.BolonhaDegreeDiplomaRequestEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.BolonhaDegreeDiplomaRequestEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.BolonhaMasterDegreeDiplomaRequestEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.BolonhaMasterDegreeDiplomaRequestEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.CertificateRequestEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.CertificateRequestEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.DeclarationRequestEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.DeclarationRequestEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.DiplomaRequestEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.DiplomaRequestEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.EquivalencePlanRequestEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.EquivalencePlanRequestEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.PartialRegistrationRegimeRequestEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.PartialRegistrationRegimeRequestEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.PastCertificateRequestEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.PastCertificateRequestEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.PastCourseGroupChangeRequestEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.PastCourseGroupChangeRequestEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.PastDegreeDiplomaRequestEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.PastDegreeDiplomaRequestEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.PastEquivalencePlanRequestEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.PastEquivalencePlanRequestEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.PastEquivalencePlanRevisionRequestEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.PastEquivalencePlanRevisionRequestEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.PastExtraExamRequestEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.PastExtraExamRequestEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.PastFreeSolicitationAcademicRequestEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.PastFreeSolicitationAcademicRequestEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.PastPhotocopyRequestEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.PastPhotocopyRequestEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.PastStudentReingressionRequestEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.PastStudentReingressionRequestEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.PhotocopyRequestEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.PhotocopyRequestEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.RegistrationAcademicServiceRequestEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.RegistrationAcademicServiceRequestEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.StudentReingressionRequestEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.events.serviceRequests.StudentReingressionRequestEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.installments.InstallmentWithMonthlyPenalty';
update INSTALLMENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.installments.InstallmentWithMonthlyPenalty';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.installments.InstallmentWithPenalty';
update INSTALLMENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.installments.InstallmentWithPenalty';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.installments.PartialRegimeInstallment';
update INSTALLMENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.installments.PartialRegimeInstallment';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.paymentCodes.AccountingEventPaymentCode';
update PAYMENT_CODE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.paymentCodes.AccountingEventPaymentCode';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.paymentCodes.GratuitySituationPaymentCode';
update PAYMENT_CODE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.paymentCodes.GratuitySituationPaymentCode';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.paymentCodes.IndividualCandidacyPaymentCode';
update PAYMENT_CODE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.paymentCodes.IndividualCandidacyPaymentCode';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.paymentCodes.InstallmentPaymentCode';
update PAYMENT_CODE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.paymentCodes.InstallmentPaymentCode';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.paymentCodes.MasterDegreeInsurancePaymentCode';
update PAYMENT_CODE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.paymentCodes.MasterDegreeInsurancePaymentCode';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.paymentPlans.CustomGratuityPaymentPlan';
update PAYMENT_PLAN set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.paymentPlans.CustomGratuityPaymentPlan';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.paymentPlans.FullGratuityPaymentPlan';
update PAYMENT_PLAN set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.paymentPlans.FullGratuityPaymentPlan';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.paymentPlans.FullGratuityPaymentPlanForPartialRegime';
update PAYMENT_PLAN set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.paymentPlans.FullGratuityPaymentPlanForPartialRegime';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.paymentPlans.GratuityPaymentPlan';
update PAYMENT_PLAN set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.paymentPlans.GratuityPaymentPlan';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.paymentPlans.GratuityPaymentPlanForPartialRegimeEnroledOnlyInSecondSemester';
update PAYMENT_PLAN set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.paymentPlans.GratuityPaymentPlanForPartialRegimeEnroledOnlyInSecondSemester';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.paymentPlans.GratuityPaymentPlanForStudentsEnroledOnlyInSecondSemester';
update PAYMENT_PLAN set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.paymentPlans.GratuityPaymentPlanForStudentsEnroledOnlyInSecondSemester';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.AdministrativeOfficeFeeAndInsurancePR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.AdministrativeOfficeFeeAndInsurancePR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.AdministrativeOfficeFeePR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.AdministrativeOfficeFeePR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.BaseAmountPlusAmountPerPagePR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.BaseAmountPlusAmountPerPagePR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.BaseAmountPlusAmountPerUnitPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.BaseAmountPlusAmountPerUnitPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.EnrolmentOutOfPeriodPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.EnrolmentOutOfPeriodPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.FixedAmountPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.FixedAmountPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.FixedAmountWithPenaltyFromDatePR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.FixedAmountWithPenaltyFromDatePR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.FixedAmountWithPenaltyPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.FixedAmountWithPenaltyPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.GenericSingleEntryTypePR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.GenericSingleEntryTypePR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.ImprovementOfApprovedEnrolmentPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.ImprovementOfApprovedEnrolmentPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.PastAdministrativeOfficeFeeAndInsurancePR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.PastAdministrativeOfficeFeeAndInsurancePR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.ResidencePR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.ResidencePR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.candidacy.DegreeCandidacyForGraduatedPersonPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.candidacy.DegreeCandidacyForGraduatedPersonPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.candidacy.DegreeChangeIndividualCandidacyPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.candidacy.DegreeChangeIndividualCandidacyPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.candidacy.DegreeTransferIndividualCandidacyPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.candidacy.DegreeTransferIndividualCandidacyPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.candidacy.SecondCycleIndividualCandidacyPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.candidacy.SecondCycleIndividualCandidacyPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.dfa.DFACandidacyPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.dfa.DFACandidacyPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.dfa.DfaRegistrationPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.dfa.DfaRegistrationPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.gratuity.DFAGratuityByAmountPerEctsPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.gratuity.DFAGratuityByAmountPerEctsPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.gratuity.DFAGratuityByNumberOfEnrolmentsPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.gratuity.DFAGratuityByNumberOfEnrolmentsPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.gratuity.DFAGratuityPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.gratuity.DFAGratuityPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.gratuity.GratuityWithPaymentPlanPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.gratuity.GratuityWithPaymentPlanPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.gratuity.PastDegreeGratuityPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.gratuity.PastDegreeGratuityPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.gratuity.StandaloneEnrolmentGratuityPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.gratuity.StandaloneEnrolmentGratuityPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.CertificateRequestPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.CertificateRequestPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.CourseLoadRequestPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.CourseLoadRequestPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.DeclarationRequestPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.DeclarationRequestPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.DiplomaRequestPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.DiplomaRequestPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.EnrolmentCertificateRequestPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.EnrolmentCertificateRequestPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.ExamDateCertificateRequestPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.ExamDateCertificateRequestPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.ExternalCourseLoadRequestPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.ExternalCourseLoadRequestPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.ExternalProgramCertificateRequestPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.ExternalProgramCertificateRequestPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.ExtraCurricularEnrolmentCertificateRequestPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.ExtraCurricularEnrolmentCertificateRequestPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.PastCertificateRequestPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.PastCertificateRequestPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.PastCourseGroupChangeRequestPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.PastCourseGroupChangeRequestPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.PastDegreeDiplomaRequestPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.PastDegreeDiplomaRequestPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.PastEquivalencePlanRequestPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.PastEquivalencePlanRequestPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.PastEquivalencePlanRevisionRequestPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.PastEquivalencePlanRevisionRequestPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.PastExtraExamRequestPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.PastExtraExamRequestPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.PastFreeSolicitationAcademicRequestPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.PastFreeSolicitationAcademicRequestPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.PastPhotocopyRequestPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.PastPhotocopyRequestPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.PastStudentReingressionRequestPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.PastStudentReingressionRequestPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.PhotocopyRequestPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.PhotocopyRequestPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.ProgramCertificateRequestPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.ProgramCertificateRequestPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.StandaloneEnrolmentCertificateRequestPR';
update POSTING_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.postingRules.serviceRequests.StandaloneEnrolmentCertificateRequestPR';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.serviceAgreementTemplates.AdministrativeOfficeServiceAgreementTemplate';
update SERVICE_AGREEMENT_TEMPLATE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.serviceAgreementTemplates.AdministrativeOfficeServiceAgreementTemplate';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.serviceAgreementTemplates.DegreeCurricularPlanServiceAgreementTemplate';
update SERVICE_AGREEMENT_TEMPLATE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.serviceAgreementTemplates.DegreeCurricularPlanServiceAgreementTemplate';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.serviceAgreementTemplates.UnitServiceAgreementTemplate';
update SERVICE_AGREEMENT_TEMPLATE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.serviceAgreementTemplates.UnitServiceAgreementTemplate';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.accounting.serviceAgreements.DegreeCurricularPlanServiceAgreement';
update SERVICE_AGREEMENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.accounting.serviceAgreements.DegreeCurricularPlanServiceAgreement';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.Anulation';
update ASSIDUOUSNESS_RECORD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.assiduousness.Anulation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.AssiduousnessRecord';
update ASSIDUOUSNESS_RECORD set OID = (@xpto << 32) + ID_INTERNAL, DATE = DATE where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.assiduousness.AssiduousnessRecord';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.Clocking';
update ASSIDUOUSNESS_RECORD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.assiduousness.Clocking';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.ClosedMonthFile';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.assiduousness.ClosedMonthFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.ContinuousSchedule';
update WORK_SCHEDULE_TYPE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.assiduousness.ContinuousSchedule';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.FlexibleSchedule';
update WORK_SCHEDULE_TYPE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.assiduousness.FlexibleSchedule';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.HalfTimeSchedule';
update WORK_SCHEDULE_TYPE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.assiduousness.HalfTimeSchedule';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.HourExemptionSchedule';
update WORK_SCHEDULE_TYPE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.assiduousness.HourExemptionSchedule';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.IdentificationCard';
update IDENTIFICATION set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFIED_DATE = LAST_MODIFIED_DATE where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.assiduousness.IdentificationCard';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.Justification';
update ASSIDUOUSNESS_RECORD set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFIED_DATE = LAST_MODIFIED_DATE where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.assiduousness.Justification';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.Leave';
update ASSIDUOUSNESS_RECORD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.assiduousness.Leave';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.MissingClocking';
update ASSIDUOUSNESS_RECORD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.assiduousness.MissingClocking';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.ScheduleExemption';
update WORK_SCHEDULE_TYPE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.assiduousness.ScheduleExemption';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.assiduousness.WorkScheduleType';
update WORK_SCHEDULE_TYPE set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFIED_DATE = LAST_MODIFIED_DATE where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.assiduousness.WorkScheduleType';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacy.AdmittedCandidacySituation';
update CANDIDACY_SITUATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacy.AdmittedCandidacySituation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacy.CancelledCandidacySituation';
update CANDIDACY_SITUATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacy.CancelledCandidacySituation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacy.Candidacy';
update CANDIDACY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacy.Candidacy';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacy.CandidacyDocumentFile';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacy.CandidacyDocumentFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacy.CandidacySituation';
update CANDIDACY_SITUATION set OID = (@xpto << 32) + ID_INTERNAL, SITUATION_DATE = SITUATION_DATE where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacy.CandidacySituation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacy.DFACandidacy';
update CANDIDACY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacy.DFACandidacy';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacy.DegreeCandidacy';
update CANDIDACY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacy.DegreeCandidacy';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacy.IMDCandidacy';
update CANDIDACY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacy.IMDCandidacy';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacy.MDCandidacy';
update CANDIDACY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacy.MDCandidacy';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacy.NotAdmittedCandidacySituation';
update CANDIDACY_SITUATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacy.NotAdmittedCandidacySituation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacy.PreCandidacySituation';
update CANDIDACY_SITUATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacy.PreCandidacySituation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacy.RegisteredCandidacySituation';
update CANDIDACY_SITUATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacy.RegisteredCandidacySituation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacy.SDCandidacy';
update CANDIDACY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacy.SDCandidacy';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacy.StandByCandidacySituation';
update CANDIDACY_SITUATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacy.StandByCandidacySituation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacy.StandByConfirmedDataCandidacySituation';
update CANDIDACY_SITUATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacy.StandByConfirmedDataCandidacySituation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacy.StandByFilledDataCandidacySituation';
update CANDIDACY_SITUATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacy.StandByFilledDataCandidacySituation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacy.StudentCandidacy';
update CANDIDACY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacy.StudentCandidacy';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacy.SubstituteCandidacySituation';
update CANDIDACY_SITUATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacy.SubstituteCandidacySituation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.CandidacyPrecedentDegreeInformation';
update CANDIDACY_PRECEDENT_DEGREE_INFORMATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.CandidacyPrecedentDegreeInformation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.CandidacyProcess';
update PROCESS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.CandidacyProcess';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.DegreeOfficePublicCandidacyHashCode';
update PUBLIC_CANDIDACY_HASH_CODE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.DegreeOfficePublicCandidacyHashCode';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.ExternalPrecedentDegreeInformation';
update CANDIDACY_PRECEDENT_DEGREE_INFORMATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.ExternalPrecedentDegreeInformation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.Formation';
update QUALIFICATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.Formation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.IndividualCandidacy';
update INDIVIDUAL_CANDIDACY set OID = (@xpto << 32) + ID_INTERNAL, WHEN_CREATED = WHEN_CREATED where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.IndividualCandidacy';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.IndividualCandidacyDocumentFile';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.IndividualCandidacyDocumentFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.IndividualCandidacyExternalPersonDetails';
update INDIVIDUAL_CANDIDACY_PERSONAL_DETAILS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.IndividualCandidacyExternalPersonDetails';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.IndividualCandidacyInternalPersonDetails';
update INDIVIDUAL_CANDIDACY_PERSONAL_DETAILS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.IndividualCandidacyInternalPersonDetails';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.IndividualCandidacyPersonalDetails';
update INDIVIDUAL_CANDIDACY_PERSONAL_DETAILS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.IndividualCandidacyPersonalDetails';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.IndividualCandidacyProcess';
update PROCESS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.IndividualCandidacyProcess';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.InstitutionPrecedentDegreeInformation';
update CANDIDACY_PRECEDENT_DEGREE_INFORMATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.InstitutionPrecedentDegreeInformation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.degreeChange.DegreeChangeCandidacyProcess';
update PROCESS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.degreeChange.DegreeChangeCandidacyProcess';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.degreeChange.DegreeChangeIndividualCandidacy';
update INDIVIDUAL_CANDIDACY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.degreeChange.DegreeChangeIndividualCandidacy';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.degreeChange.DegreeChangeIndividualCandidacyProcess';
update PROCESS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.degreeChange.DegreeChangeIndividualCandidacyProcess';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.degreeTransfer.DegreeTransferCandidacyProcess';
update PROCESS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.degreeTransfer.DegreeTransferCandidacyProcess';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.degreeTransfer.DegreeTransferIndividualCandidacy';
update INDIVIDUAL_CANDIDACY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.degreeTransfer.DegreeTransferIndividualCandidacy';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.degreeTransfer.DegreeTransferIndividualCandidacyProcess';
update PROCESS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.degreeTransfer.DegreeTransferIndividualCandidacyProcess';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.graduatedPerson.DegreeCandidacyForGraduatedPerson';
update INDIVIDUAL_CANDIDACY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.graduatedPerson.DegreeCandidacyForGraduatedPerson';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.graduatedPerson.DegreeCandidacyForGraduatedPersonIndividualProcess';
update PROCESS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.graduatedPerson.DegreeCandidacyForGraduatedPersonIndividualProcess';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.graduatedPerson.DegreeCandidacyForGraduatedPersonProcess';
update PROCESS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.graduatedPerson.DegreeCandidacyForGraduatedPersonProcess';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.over23.Over23CandidacyProcess';
update PROCESS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.over23.Over23CandidacyProcess';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.over23.Over23IndividualCandidacy';
update INDIVIDUAL_CANDIDACY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.over23.Over23IndividualCandidacy';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.over23.Over23IndividualCandidacyProcess';
update PROCESS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.over23.Over23IndividualCandidacyProcess';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.secondCycle.SecondCycleCandidacyProcess';
update PROCESS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.secondCycle.SecondCycleCandidacyProcess';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.secondCycle.SecondCycleIndividualCandidacy';
update INDIVIDUAL_CANDIDACY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.secondCycle.SecondCycleIndividualCandidacy';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.secondCycle.SecondCycleIndividualCandidacyProcess';
update PROCESS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.secondCycle.SecondCycleIndividualCandidacyProcess';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.standalone.StandaloneCandidacyProcess';
update PROCESS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.standalone.StandaloneCandidacyProcess';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.standalone.StandaloneIndividualCandidacy';
update INDIVIDUAL_CANDIDACY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.standalone.StandaloneIndividualCandidacy';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.candidacyProcess.standalone.StandaloneIndividualCandidacyProcess';
update PROCESS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.candidacyProcess.standalone.StandaloneIndividualCandidacyProcess';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.caseHandling.Process';
update PROCESS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.caseHandling.Process';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.classProperties.ExecutionCourseProperty';
update GENERAL_CLASS_PROPERTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.classProperties.ExecutionCourseProperty';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.classProperties.GeneralClassProperty';
update GENERAL_CLASS_PROPERTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.classProperties.GeneralClassProperty';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.contacts.EmailAddress';
update PARTY_CONTACT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.contacts.EmailAddress';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.contacts.MobilePhone';
update PARTY_CONTACT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.contacts.MobilePhone';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.contacts.PartyContact';
update PARTY_CONTACT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.contacts.PartyContact';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.contacts.Phone';
update PARTY_CONTACT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.contacts.Phone';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.contacts.PhysicalAddress';
update PARTY_CONTACT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.contacts.PhysicalAddress';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.contacts.WebAddress';
update PARTY_CONTACT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.contacts.WebAddress';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.contents.Attachment';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.contents.Attachment';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.contents.Container';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.contents.Container';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.contents.Content';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE = CREATION_DATE where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.contents.Content';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.contents.DateOrderedNode';
update NODE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.contents.DateOrderedNode';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.contents.Element';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.contents.Element';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.contents.ExplicitOrderNode';
update NODE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.contents.ExplicitOrderNode';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.contents.FunctionalityCall';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.contents.FunctionalityCall';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.contents.MetaDomainObjectPortal';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.contents.MetaDomainObjectPortal';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.contents.Node';
update NODE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.contents.Node';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.contents.Portal';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.contents.Portal';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.credits.CreditLine';
update CREDIT_LINE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.credits.CreditLine';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.credits.DatePeriodBaseCreditLine';
update CREDIT_LINE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.credits.DatePeriodBaseCreditLine';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.credits.ManagementPositionCreditLine';
update CREDIT_LINE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.credits.ManagementPositionCreditLine';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.credits.OtherTypeCreditLine';
update CREDIT_LINE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.credits.OtherTypeCreditLine';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.curricularRules.AndRule';
update CURRICULAR_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.curricularRules.AndRule';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.curricularRules.AnyCurricularCourse';
update CURRICULAR_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.curricularRules.AnyCurricularCourse';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.curricularRules.CompositeRule';
update CURRICULAR_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.curricularRules.CompositeRule';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.curricularRules.CreditsLimit';
update CURRICULAR_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.curricularRules.CreditsLimit';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.curricularRules.CurricularRule';
update CURRICULAR_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.curricularRules.CurricularRule';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.curricularRules.DegreeModulesSelectionLimit';
update CURRICULAR_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.curricularRules.DegreeModulesSelectionLimit';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.curricularRules.EnrolmentToBeApprovedByCoordinator';
update CURRICULAR_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.curricularRules.EnrolmentToBeApprovedByCoordinator';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.curricularRules.EvenOddRule';
update CURRICULAR_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.curricularRules.EvenOddRule';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.curricularRules.Exclusiveness';
update CURRICULAR_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.curricularRules.Exclusiveness';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.curricularRules.MaximumNumberOfCreditsForEnrolmentPeriod';
update CURRICULAR_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.curricularRules.MaximumNumberOfCreditsForEnrolmentPeriod';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.curricularRules.MinimumNumberOfCreditsToEnrol';
update CURRICULAR_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.curricularRules.MinimumNumberOfCreditsToEnrol';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.curricularRules.NotRule';
update CURRICULAR_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.curricularRules.NotRule';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.curricularRules.OrRule';
update CURRICULAR_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.curricularRules.OrRule';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.curricularRules.PrecedenceRule';
update CURRICULAR_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.curricularRules.PrecedenceRule';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.curricularRules.RestrictionBetweenDegreeModules';
update CURRICULAR_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.curricularRules.RestrictionBetweenDegreeModules';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.curricularRules.RestrictionDoneDegreeModule';
update CURRICULAR_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.curricularRules.RestrictionDoneDegreeModule';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.curricularRules.RestrictionEnroledDegreeModule';
update CURRICULAR_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.curricularRules.RestrictionEnroledDegreeModule';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.curricularRules.Rule';
update CURRICULAR_RULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.curricularRules.Rule';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.degreeStructure.CourseGroup';
update DEGREE_MODULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.degreeStructure.CourseGroup';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.degreeStructure.CycleCourseGroup';
update DEGREE_MODULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.degreeStructure.CycleCourseGroup';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.degreeStructure.DegreeModule';
update DEGREE_MODULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.degreeStructure.DegreeModule';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.degreeStructure.OptionalCurricularCourse';
update DEGREE_MODULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.degreeStructure.OptionalCurricularCourse';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.degreeStructure.RootCourseGroup';
update DEGREE_MODULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.degreeStructure.RootCourseGroup';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.documents.AnnualIRSDeclarationDocument';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.documents.AnnualIRSDeclarationDocument';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.documents.CreditNoteGeneratedDocument';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.documents.CreditNoteGeneratedDocument';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.documents.DocumentRequestGeneratedDocument';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.documents.DocumentRequestGeneratedDocument';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.documents.GeneratedDocument';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.documents.GeneratedDocument';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.documents.GeneratedDocumentWithoutSource';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.documents.GeneratedDocumentWithoutSource';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.documents.LibraryMissingCardsDocument';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.documents.LibraryMissingCardsDocument';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.documents.LibraryMissingLettersDocument';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.documents.LibraryMissingLettersDocument';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.documents.ReceiptGeneratedDocument';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.documents.ReceiptGeneratedDocument';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.elections.DelegateElection';
update DELEGATE_ELECTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.elections.DelegateElection';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.elections.DelegateElectionCandidacyPeriod';
update DELEGATE_ELECTION_PERIOD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.elections.DelegateElectionCandidacyPeriod';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.elections.DelegateElectionPeriod';
update DELEGATE_ELECTION_PERIOD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.elections.DelegateElectionPeriod';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.elections.DelegateElectionVotingPeriod';
update DELEGATE_ELECTION_PERIOD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.elections.DelegateElectionVotingPeriod';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.elections.YearDelegateElection';
update DELEGATE_ELECTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.elections.YearDelegateElection';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.functionalities.AvailabilityPolicy';
update AVAILABILITY_POLICY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.functionalities.AvailabilityPolicy';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.functionalities.ExpressionGroupAvailability';
update AVAILABILITY_POLICY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.functionalities.ExpressionGroupAvailability';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.functionalities.Functionality';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.functionalities.Functionality';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.functionalities.GroupAvailability';
update AVAILABILITY_POLICY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.functionalities.GroupAvailability';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.functionalities.Module';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.functionalities.Module';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.grant.contract.GrantCostCenter';
update GRANT_PAYMENT_ENTITY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.grant.contract.GrantCostCenter';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.grant.contract.GrantPaymentEntity';
update GRANT_PAYMENT_ENTITY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.grant.contract.GrantPaymentEntity';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.grant.contract.GrantProject';
update GRANT_PAYMENT_ENTITY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.grant.contract.GrantProject';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.homepage.Homepage';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.homepage.Homepage';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.log.CreditsDismissalLog';
update CURRICULUM_LINE_LOG set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.log.CreditsDismissalLog';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.log.CurriculumLineLog';
update CURRICULUM_LINE_LOG set OID = (@xpto << 32) + ID_INTERNAL, DATE_DATE_TIME = DATE_DATE_TIME where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.log.CurriculumLineLog';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.log.DismissalLog';
update CURRICULUM_LINE_LOG set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.log.DismissalLog';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.log.EnrolmentLog';
update CURRICULUM_LINE_LOG set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.log.EnrolmentLog';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.log.OptionalDismissalLog';
update CURRICULUM_LINE_LOG set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.log.OptionalDismissalLog';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.log.OptionalEnrolmentLog';
update CURRICULUM_LINE_LOG set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.log.OptionalEnrolmentLog';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.material.Extension';
update RESOURCE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.material.Extension';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.material.FireExtinguisher';
update RESOURCE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.material.FireExtinguisher';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.material.Material';
update RESOURCE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.material.Material';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.material.MaterialResponsibility';
update RESOURCE_RESPONSIBILITY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.material.MaterialResponsibility';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.messaging.Announcement';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFICATION = LAST_MODIFICATION, PUBLICATION_BEGIN = PUBLICATION_BEGIN, PUBLICATION_END = PUBLICATION_END, REFERED_SUBJECT_BEGIN = REFERED_SUBJECT_BEGIN, REFERED_SUBJECT_END = REFERED_SUBJECT_END where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.messaging.Announcement';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.messaging.AnnouncementBoard';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.messaging.AnnouncementBoard';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.messaging.AnnouncementNode';
update NODE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.messaging.AnnouncementNode';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.messaging.ConversationMessage';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.messaging.ConversationMessage';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.messaging.ConversationThread';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.messaging.ConversationThread';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.messaging.ExecutionCourseAnnouncementBoard';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.messaging.ExecutionCourseAnnouncementBoard';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.messaging.ExecutionCourseForum';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.messaging.ExecutionCourseForum';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.messaging.Forum';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.messaging.Forum';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.messaging.PartyAnnouncementBoard';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.messaging.PartyAnnouncementBoard';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.messaging.PublicBoardFileContent';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.messaging.PublicBoardFileContent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.messaging.UnitAnnouncementBoard';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.messaging.UnitAnnouncementBoard';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.onlineTests.OnlineTest';
update EVALUATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.onlineTests.OnlineTest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.AcademicalInstitutionUnit';
update PARTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.AcademicalInstitutionUnit';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.Accountability';
update ACCOUNTABILITY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.Accountability';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.AccountabilityType';
update ACCOUNTABILITY_TYPE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.AccountabilityType';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.AdministrativeOfficeUnit';
update PARTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.AdministrativeOfficeUnit';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.AggregateUnit';
update PARTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.AggregateUnit';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.CompetenceCourseGroupUnit';
update PARTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.CompetenceCourseGroupUnit';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.Contract';
update ACCOUNTABILITY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.Contract';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.CountryUnit';
update PARTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.CountryUnit';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.DegreeUnit';
update PARTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.DegreeUnit';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.DepartmentUnit';
update PARTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.DepartmentUnit';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.EmployeeContract';
update ACCOUNTABILITY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.EmployeeContract';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.ExternalContract';
update ACCOUNTABILITY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.ExternalContract';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.Function';
update ACCOUNTABILITY_TYPE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.Function';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.Invitation';
update ACCOUNTABILITY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.Invitation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.ManagementCouncilUnit';
update PARTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.ManagementCouncilUnit';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.Party';
update PARTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.Party';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.PedagogicalCouncilUnit';
update PARTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.PedagogicalCouncilUnit';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.PersonFunction';
update ACCOUNTABILITY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.PersonFunction';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.PlanetUnit';
update PARTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.PlanetUnit';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.ResearchContract';
update ACCOUNTABILITY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.ResearchContract';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.ResearchInternshipContract';
update ACCOUNTABILITY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.ResearchInternshipContract';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.ResearchScholarshipContract';
update ACCOUNTABILITY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.ResearchScholarshipContract';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.ResearchTechnicalStaffContract';
update ACCOUNTABILITY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.ResearchTechnicalStaffContract';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.ResearchUnit';
update PARTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.ResearchUnit';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.ResearcherContract';
update ACCOUNTABILITY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.ResearcherContract';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.ResidenceManagementUnit';
update PARTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.ResidenceManagementUnit';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.SchoolUnit';
update PARTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.SchoolUnit';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.ScientificAreaUnit';
update PARTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.ScientificAreaUnit';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.ScientificCouncilUnit';
update PARTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.ScientificCouncilUnit';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.SectionUnit';
update PARTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.SectionUnit';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.TutorUnit';
update PARTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.TutorUnit';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.Unit';
update PARTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.Unit';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.organizationalStructure.UniversityUnit';
update PARTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.UniversityUnit';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.parking.ParkingFile';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.parking.ParkingFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.period.CandidacyPeriod';
update CANDIDACY_PERIOD set OID = (@xpto << 32) + ID_INTERNAL, START = START, END = END where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.period.CandidacyPeriod';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.period.CandidacyProcessCandidacyPeriod';
update CANDIDACY_PERIOD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.period.CandidacyProcessCandidacyPeriod';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.period.DegreeCandidacyForGraduatedPersonCandidacyPeriod';
update CANDIDACY_PERIOD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.period.DegreeCandidacyForGraduatedPersonCandidacyPeriod';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.period.DegreeChangeCandidacyPeriod';
update CANDIDACY_PERIOD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.period.DegreeChangeCandidacyPeriod';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.period.DegreeTransferCandidacyPeriod';
update CANDIDACY_PERIOD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.period.DegreeTransferCandidacyPeriod';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.period.Over23CandidacyPeriod';
update CANDIDACY_PERIOD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.period.Over23CandidacyPeriod';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.period.SecondCycleCandidacyPeriod';
update CANDIDACY_PERIOD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.period.SecondCycleCandidacyPeriod';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.period.StandaloneCandidacyPeriod';
update CANDIDACY_PERIOD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.period.StandaloneCandidacyPeriod';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.personnelSection.contracts.EmployeeGrantOwnerEquivalent';
update EMPLOYEE_PROFESSIONAL_EXEMPTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.personnelSection.contracts.EmployeeGrantOwnerEquivalent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.personnelSection.contracts.EmployeeProfessionalExemption';
update EMPLOYEE_PROFESSIONAL_EXEMPTION set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE = CREATION_DATE, MODIFIED_DATE = MODIFIED_DATE, IMPORTATION_DATE = IMPORTATION_DATE, ANULATION_DATE = ANULATION_DATE where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.personnelSection.contracts.EmployeeProfessionalExemption';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.personnelSection.contracts.EmployeeSabbatical';
update EMPLOYEE_PROFESSIONAL_EXEMPTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.personnelSection.contracts.EmployeeSabbatical';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.personnelSection.contracts.EmployeeServiceExemption';
update EMPLOYEE_PROFESSIONAL_EXEMPTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.personnelSection.contracts.EmployeeServiceExemption';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.ExternalGuiding';
update PHD_PROGRAM_GUIDING set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.ExternalGuiding';
-- select @xpto:=null;
-- select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.ExternalPhdStudyPlanEntry';
-- update PHD_STUDY_PLAN_ENTRY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.ExternalPhdStudyPlanEntry';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.InternalGuiding';
update PHD_PROGRAM_GUIDING set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.InternalGuiding';
-- select @xpto:=null;
-- select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.InternalPhdStudyPlanEntry';
-- update PHD_STUDY_PLAN_ENTRY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.InternalPhdStudyPlanEntry';
-- select @xpto:=null;
-- select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.PhdCandidacyProcessState';
-- update PHD_PROCESS_STATE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.PhdCandidacyProcessState';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.PhdIndividualProgramProcess';
update PROCESS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.PhdIndividualProgramProcess';
-- select @xpto:=null;
-- select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.PhdProcessState';
-- update PHD_PROCESS_STATE set OID = (@xpto << 32) + ID_INTERNAL, WHEN_CREATED = WHEN_CREATED where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.PhdProcessState';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.PhdProgramGuiding';
update PHD_PROGRAM_GUIDING set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.PhdProgramGuiding';
-- select @xpto:=null;
-- select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.PhdProgramProcessState';
-- update PHD_PROCESS_STATE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.PhdProgramProcessState';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.PhdProgramServiceAgreementTemplate';
update SERVICE_AGREEMENT_TEMPLATE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.PhdProgramServiceAgreementTemplate';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.PhdProgramUnit';
update PARTY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.PhdProgramUnit';
-- select @xpto:=null;
-- select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.PhdStudyPlanEntry';
-- update PHD_STUDY_PLAN_ENTRY set OID = (@xpto << 32) + ID_INTERNAL, WHEN_CREATED = WHEN_CREATED where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.PhdStudyPlanEntry';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.alert.PhdAlert';
update PHD_ALERT set OID = (@xpto << 32) + ID_INTERNAL, FIRE_DATE = FIRE_DATE where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.alert.PhdAlert';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.alert.PhdCandidacyRefereeAlert';
update PHD_ALERT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.alert.PhdCandidacyRefereeAlert';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.alert.PhdCustomAlert';
update PHD_ALERT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.alert.PhdCustomAlert';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.alert.PhdPublicPresentationSeminarAlert';
update PHD_ALERT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.alert.PhdPublicPresentationSeminarAlert';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.alert.PhdRegistrationFormalizationAlert';
update PHD_ALERT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.alert.PhdRegistrationFormalizationAlert';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.candidacy.PHDProgramCandidacy';
update CANDIDACY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.candidacy.PHDProgramCandidacy';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.candidacy.PhdCandidacyPeriod';
update CANDIDACY_PERIOD set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.candidacy.PhdCandidacyPeriod';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.candidacy.PhdCandidacyReferee';
update PUBLIC_CANDIDACY_HASH_CODE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.candidacy.PhdCandidacyReferee';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.candidacy.PhdCandidacyRefereeLetterFile';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.candidacy.PhdCandidacyRefereeLetterFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.candidacy.PhdProgramCandidacyEvent';
update EVENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.candidacy.PhdProgramCandidacyEvent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.candidacy.PhdProgramCandidacyProcess';
update PROCESS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.candidacy.PhdProgramCandidacyProcess';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.candidacy.PhdProgramCandidacyProcessDocument';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.candidacy.PhdProgramCandidacyProcessDocument';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.phd.candidacy.PhdProgramPublicCandidacyHashCode';
update PUBLIC_CANDIDACY_HASH_CODE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.phd.candidacy.PhdProgramPublicCandidacyHashCode';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.precedences.Restriction';
update RESTRICTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.precedences.Restriction';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.precedences.RestrictionByCurricularCourse';
update RESTRICTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.precedences.RestrictionByCurricularCourse';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.precedences.RestrictionByNumberOfCurricularCourses';
update RESTRICTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.precedences.RestrictionByNumberOfCurricularCourses';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.precedences.RestrictionByNumberOfDoneCurricularCourses';
update RESTRICTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.precedences.RestrictionByNumberOfDoneCurricularCourses';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.precedences.RestrictionDoneCurricularCourse';
update RESTRICTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.precedences.RestrictionDoneCurricularCourse';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.precedences.RestrictionDoneOrHasEverBeenEnrolledInCurricularCourse';
update RESTRICTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.precedences.RestrictionDoneOrHasEverBeenEnrolledInCurricularCourse';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.precedences.RestrictionHasEverBeenOrIsCurrentlyEnrolledInCurricularCourse';
update RESTRICTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.precedences.RestrictionHasEverBeenOrIsCurrentlyEnrolledInCurricularCourse';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.precedences.RestrictionHasEverBeenOrWillBeAbleToBeEnrolledInCurricularCourse';
update RESTRICTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.precedences.RestrictionHasEverBeenOrWillBeAbleToBeEnrolledInCurricularCourse';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.precedences.RestrictionNotDoneCurricularCourse';
update RESTRICTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.precedences.RestrictionNotDoneCurricularCourse';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.precedences.RestrictionNotEnrolledInCurricularCourse';
update RESTRICTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.precedences.RestrictionNotEnrolledInCurricularCourse';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.precedences.RestrictionPeriodToApply';
update RESTRICTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.precedences.RestrictionPeriodToApply';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.protocols.ProtocolFile';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.protocols.ProtocolFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reports.CourseLoadReportFile';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.reports.CourseLoadReportFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reports.DissertationsProposalsReportFile';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.reports.DissertationsProposalsReportFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reports.DissertationsWithExternalAffiliationsReportFile';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.reports.DissertationsWithExternalAffiliationsReportFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reports.EctsLabelCurricularCourseReportFile';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.reports.EctsLabelCurricularCourseReportFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reports.EctsLabelDegreeReportFile';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.reports.EctsLabelDegreeReportFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reports.EtiReportFile';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.reports.EtiReportFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reports.EurAceReportFile';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.reports.EurAceReportFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reports.FlunkedReportFile';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.reports.FlunkedReportFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reports.GepReportFile';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.reports.GepReportFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reports.GraduationReportFile';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.reports.GraduationReportFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reports.ParkingDataReportFile';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.reports.ParkingDataReportFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reports.RaidesDfaReportFile';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.reports.RaidesDfaReportFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reports.RaidesGraduationReportFile';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.reports.RaidesGraduationReportFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reports.RaidesPhdReportFile';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.reports.RaidesPhdReportFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reports.RegistrationReportFile';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.reports.RegistrationReportFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reports.StatusAndApprovalReportFile';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.reports.StatusAndApprovalReportFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reports.TeachersByShiftReportFile';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.reports.TeachersByShiftReportFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reports.TeachersListFromGiafReportFile';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.reports.TeachersListFromGiafReportFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reports.TeachersListReportFile';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.reports.TeachersListReportFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.reports.TutorshipProgramReportFile';
update QUEUE_JOB set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.reports.TutorshipProgramReportFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.activity.CooperationParticipation';
update PARTICIPATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.research.activity.CooperationParticipation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.activity.EventEditionParticipation';
update PARTICIPATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.research.activity.EventEditionParticipation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.activity.EventParticipation';
update PARTICIPATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.research.activity.EventParticipation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.activity.JournalIssueParticipation';
update PARTICIPATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.research.activity.JournalIssueParticipation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.activity.Participation';
update PARTICIPATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.research.activity.Participation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.activity.ScientificJournalParticipation';
update PARTICIPATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.research.activity.ScientificJournalParticipation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.result.ResearchResult';
update RESEARCH_RESULT set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFICATION_DATE = LAST_MODIFICATION_DATE where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.research.result.ResearchResult';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.result.ResearchResultDocumentFile';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.research.result.ResearchResultDocumentFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.result.patent.ResearchResultPatent';
update RESEARCH_RESULT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.research.result.patent.ResearchResultPatent';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.result.publication.Article';
update RESEARCH_RESULT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.research.result.publication.Article';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.result.publication.Book';
update RESEARCH_RESULT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.research.result.publication.Book';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.result.publication.BookPart';
update RESEARCH_RESULT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.research.result.publication.BookPart';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.result.publication.ConferenceArticles';
update RESEARCH_RESULT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.research.result.publication.ConferenceArticles';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.result.publication.Inproceedings';
update RESEARCH_RESULT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.research.result.publication.Inproceedings';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.result.publication.Manual';
update RESEARCH_RESULT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.research.result.publication.Manual';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.result.publication.OtherPublication';
update RESEARCH_RESULT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.research.result.publication.OtherPublication';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.result.publication.Proceedings';
update RESEARCH_RESULT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.research.result.publication.Proceedings';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.result.publication.ResearchResultPublication';
update RESEARCH_RESULT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.research.result.publication.ResearchResultPublication';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.result.publication.TechnicalReport';
update RESEARCH_RESULT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.research.result.publication.TechnicalReport';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.result.publication.Thesis';
update RESEARCH_RESULT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.research.result.publication.Thesis';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.research.result.publication.Unstructured';
update RESEARCH_RESULT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.research.result.publication.Unstructured';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.resource.Resource';
update RESOURCE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.resource.Resource';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.resource.ResourceAllocation';
update RESOURCE_ALLOCATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.resource.ResourceAllocation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.resource.ResourceResponsibility';
update RESOURCE_RESPONSIBILITY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.resource.ResourceResponsibility';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.resource.Vehicle';
update RESOURCE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.resource.Vehicle';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.resource.VehicleAllocation';
update RESOURCE_ALLOCATION set OID = (@xpto << 32) + ID_INTERNAL, BEGIN_DATE_TIME = BEGIN_DATE_TIME, END_DATE_TIME = END_DATE_TIME where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.resource.VehicleAllocation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.AcademicServiceRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE = CREATION_DATE, REQUEST_DATE = REQUEST_DATE where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.AcademicServiceRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.AcademicServiceRequestSituation';
update ACADEMIC_SERVICE_REQUEST_SITUATION set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE = CREATION_DATE, SITUATION_DATE = SITUATION_DATE where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.AcademicServiceRequestSituation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.CourseGroupChangeRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.CourseGroupChangeRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.EquivalencePlanRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.EquivalencePlanRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.EquivalencePlanRevisionRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.EquivalencePlanRevisionRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.ExtraExamRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.ExtraExamRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.FreeSolicitationAcademicRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.FreeSolicitationAcademicRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.PartialRegistrationRegimeRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.PartialRegistrationRegimeRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.PersonAcademicServiceRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.PersonAcademicServiceRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.ReceivedFromExternalEntityAcademicServiceRequestSituation';
update ACADEMIC_SERVICE_REQUEST_SITUATION set OID = (@xpto << 32) + ID_INTERNAL, RECEIVED_DATE = RECEIVED_DATE where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.ReceivedFromExternalEntityAcademicServiceRequestSituation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.RegistrationAcademicServiceRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.RegistrationAcademicServiceRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.SentToExternalEntityAcademicServiceRequestSituation';
update ACADEMIC_SERVICE_REQUEST_SITUATION set OID = (@xpto << 32) + ID_INTERNAL, SENT_DATE = SENT_DATE where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.SentToExternalEntityAcademicServiceRequestSituation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.StudentReingressionRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.StudentReingressionRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.ApprovementCertificateRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.ApprovementCertificateRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.CertificateRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.CertificateRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.CourseLoadRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.CourseLoadRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.DeclarationRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.DeclarationRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.DegreeFinalizationCertificateRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.DegreeFinalizationCertificateRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.DiplomaRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.DiplomaRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.DocumentRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.DocumentRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.EnrolmentCertificateRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.EnrolmentCertificateRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.EnrolmentDeclarationRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.EnrolmentDeclarationRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.ExamDateCertificateRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.ExamDateCertificateRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.ExternalCourseLoadRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.ExternalCourseLoadRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.ExternalProgramCertificateRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.ExternalProgramCertificateRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.ExtraCurricularCertificateRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.ExtraCurricularCertificateRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.GenericDeclarationRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.GenericDeclarationRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.IRSDeclarationRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.IRSDeclarationRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.PhotocopyRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.PhotocopyRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.ProgramCertificateRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.ProgramCertificateRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.SchoolRegistrationCertificateRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.SchoolRegistrationCertificateRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.SchoolRegistrationDeclarationRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.SchoolRegistrationDeclarationRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.StandaloneEnrolmentCertificateRequest';
update ACADEMIC_SERVICE_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.StandaloneEnrolmentCertificateRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.AllocatableSpace';
update RESOURCE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.AllocatableSpace';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.BlueprintFile';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.BlueprintFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.Building';
update RESOURCE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.Building';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.BuildingInformation';
update SPACE_INFORMATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.BuildingInformation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.Campus';
update RESOURCE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.Campus';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.CampusInformation';
update SPACE_INFORMATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.CampusInformation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.EventSpaceOccupation';
update RESOURCE_ALLOCATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.EventSpaceOccupation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.ExtensionSpaceOccupation';
update RESOURCE_ALLOCATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.ExtensionSpaceOccupation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.Floor';
update RESOURCE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.Floor';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.FloorInformation';
update SPACE_INFORMATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.FloorInformation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.GenericEventSpaceOccupation';
update RESOURCE_ALLOCATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.GenericEventSpaceOccupation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.LessonInstanceSpaceOccupation';
update RESOURCE_ALLOCATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.LessonInstanceSpaceOccupation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.LessonSpaceOccupation';
update RESOURCE_ALLOCATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.LessonSpaceOccupation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.MaterialSpaceOccupation';
update RESOURCE_ALLOCATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.MaterialSpaceOccupation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.PersonSpaceOccupation';
update RESOURCE_ALLOCATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.PersonSpaceOccupation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.Room';
update RESOURCE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.Room';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.RoomInformation';
update SPACE_INFORMATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.RoomInformation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.RoomSubdivision';
update RESOURCE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.RoomSubdivision';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.RoomSubdivisionInformation';
update SPACE_INFORMATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.RoomSubdivisionInformation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.Space';
update RESOURCE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.Space';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.SpaceInformation';
update SPACE_INFORMATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.SpaceInformation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.SpaceOccupation';
update RESOURCE_ALLOCATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.SpaceOccupation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.SpaceResponsibility';
update RESOURCE_RESPONSIBILITY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.SpaceResponsibility';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.UnitSpaceOccupation';
update RESOURCE_ALLOCATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.UnitSpaceOccupation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.space.WrittenEvaluationSpaceOccupation';
update RESOURCE_ALLOCATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.space.WrittenEvaluationSpaceOccupation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.Delegate';
update DELEGATE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.student.Delegate';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.YearDelegate';
update DELEGATE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.student.YearDelegate';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.curriculum.ConclusionProcess';
update CONCLUSION_PROCESS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.student.curriculum.ConclusionProcess';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.curriculum.CycleConclusionProcess';
update CONCLUSION_PROCESS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.student.curriculum.CycleConclusionProcess';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.curriculum.RegistrationConclusionProcess';
update CONCLUSION_PROCESS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.student.curriculum.RegistrationConclusionProcess';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.registrationStates.CanceledState';
update REGISTRATION_STATE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.student.registrationStates.CanceledState';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.registrationStates.ConcludedState';
update REGISTRATION_STATE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.student.registrationStates.ConcludedState';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.registrationStates.ExternalAbandonState';
update REGISTRATION_STATE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.student.registrationStates.ExternalAbandonState';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.registrationStates.FlunkedState';
update REGISTRATION_STATE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.student.registrationStates.FlunkedState';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.registrationStates.InternalAbandonState';
update REGISTRATION_STATE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.student.registrationStates.InternalAbandonState';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.registrationStates.InterruptedState';
update REGISTRATION_STATE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.student.registrationStates.InterruptedState';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.registrationStates.MobilityState';
update REGISTRATION_STATE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.student.registrationStates.MobilityState';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.registrationStates.RegisteredState';
update REGISTRATION_STATE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.student.registrationStates.RegisteredState';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.registrationStates.RegistrationState';
update REGISTRATION_STATE set OID = (@xpto << 32) + ID_INTERNAL, STATE_DATE = STATE_DATE where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.student.registrationStates.RegistrationState';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.registrationStates.SchoolPartConcludedState';
update REGISTRATION_STATE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.student.registrationStates.SchoolPartConcludedState';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.registrationStates.StudyPlanConcludedState';
update REGISTRATION_STATE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.student.registrationStates.StudyPlanConcludedState';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.registrationStates.TransitedState';
update REGISTRATION_STATE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.student.registrationStates.TransitedState';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.student.registrationStates.TransitionalState';
update REGISTRATION_STATE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.student.registrationStates.TransitionalState';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.studentCurriculum.Credits';
update CREDITS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.studentCurriculum.Credits';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.studentCurriculum.CreditsDismissal';
update CURRICULUM_MODULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.studentCurriculum.CreditsDismissal';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.studentCurriculum.CurriculumGroup';
update CURRICULUM_MODULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.studentCurriculum.CurriculumGroup';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.studentCurriculum.CurriculumLine';
update CURRICULUM_MODULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.studentCurriculum.CurriculumLine';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.studentCurriculum.CurriculumModule';
update CURRICULUM_MODULE set OID = (@xpto << 32) + ID_INTERNAL, CREATION_DATE_DATE_TIME = CREATION_DATE_DATE_TIME where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.studentCurriculum.CurriculumModule';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.studentCurriculum.CycleCurriculumGroup';
update CURRICULUM_MODULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.studentCurriculum.CycleCurriculumGroup';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.studentCurriculum.Dismissal';
update CURRICULUM_MODULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.studentCurriculum.Dismissal';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.studentCurriculum.EnrolmentWrapper';
update ENROLMENT_WRAPPER set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.studentCurriculum.EnrolmentWrapper';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.studentCurriculum.Equivalence';
update CREDITS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.studentCurriculum.Equivalence';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.studentCurriculum.ExternalCurriculumGroup';
update CURRICULUM_MODULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.studentCurriculum.ExternalCurriculumGroup';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.studentCurriculum.ExternalEnrolmentWrapper';
update ENROLMENT_WRAPPER set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.studentCurriculum.ExternalEnrolmentWrapper';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.studentCurriculum.ExtraCurriculumGroup';
update CURRICULUM_MODULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.studentCurriculum.ExtraCurriculumGroup';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.studentCurriculum.InternalEnrolmentWrapper';
update ENROLMENT_WRAPPER set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.studentCurriculum.InternalEnrolmentWrapper';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.studentCurriculum.NoCourseGroupCurriculumGroup';
update CURRICULUM_MODULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.studentCurriculum.NoCourseGroupCurriculumGroup';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.studentCurriculum.OptionalDismissal';
update CURRICULUM_MODULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.studentCurriculum.OptionalDismissal';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.studentCurriculum.PropaedeuticsCurriculumGroup';
update CURRICULUM_MODULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.studentCurriculum.PropaedeuticsCurriculumGroup';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.studentCurriculum.RootCurriculumGroup';
update CURRICULUM_MODULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.studentCurriculum.RootCurriculumGroup';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.studentCurriculum.StandaloneCurriculumGroup';
update CURRICULUM_MODULE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.studentCurriculum.StandaloneCurriculumGroup';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.studentCurriculum.Substitution';
update CREDITS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.studentCurriculum.Substitution';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.studentCurriculum.TemporarySubstitution';
update CREDITS set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.studentCurriculum.TemporarySubstitution';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.support.SupportDemand';
update SUPPORT_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.support.SupportDemand';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.support.SupportDoubt';
update SUPPORT_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.support.SupportDoubt';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.support.SupportError';
update SUPPORT_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.support.SupportError';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.support.SupportException';
update SUPPORT_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.support.SupportException';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.support.SupportRequest';
update SUPPORT_REQUEST set OID = (@xpto << 32) + ID_INTERNAL, REQUEST_TIME = REQUEST_TIME where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.support.SupportRequest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.support.SupportSugestion';
update SUPPORT_REQUEST set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.support.SupportSugestion';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.Career';
update CAREER set OID = (@xpto << 32) + ID_INTERNAL, LAST_MODIFICATION_DATE_DATE_TIME = LAST_MODIFICATION_DATE_DATE_TIME where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.teacher.Career';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.DegreeTeachingService';
update TEACHER_SERVICE_ITEM set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.teacher.DegreeTeachingService';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.InstitutionWorkTime';
update TEACHER_SERVICE_ITEM set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.teacher.InstitutionWorkTime';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.OtherService';
update TEACHER_SERVICE_ITEM set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.teacher.OtherService';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.ProfessionalCareer';
update CAREER set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.teacher.ProfessionalCareer';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.TeacherAdviseService';
update TEACHER_SERVICE_ITEM set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.teacher.TeacherAdviseService';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.TeacherMasterDegreeService';
update TEACHER_SERVICE_ITEM set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.teacher.TeacherMasterDegreeService';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.TeacherPastService';
update TEACHER_SERVICE_ITEM set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.teacher.TeacherPastService';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.TeacherProfessionalSituation';
update PROFESSIONAL_SITUATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.teacher.TeacherProfessionalSituation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.TeacherServiceExemption';
update PROFESSIONAL_SITUATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.teacher.TeacherServiceExemption';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.TeacherServiceItem';
update TEACHER_SERVICE_ITEM set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.teacher.TeacherServiceItem';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.TeacherServiceNotes';
update TEACHER_SERVICE_ITEM set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.teacher.TeacherServiceNotes';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacher.TeachingCareer';
update CAREER set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.teacher.TeachingCareer';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacherServiceDistribution.TSDCompetenceCourse';
update T_S_D_COURSE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.teacherServiceDistribution.TSDCompetenceCourse';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacherServiceDistribution.TSDCourse';
update T_S_D_COURSE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.teacherServiceDistribution.TSDCourse';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacherServiceDistribution.TSDCurricularCourse';
update T_S_D_COURSE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.teacherServiceDistribution.TSDCurricularCourse';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacherServiceDistribution.TSDCurricularCourseGroup';
update T_S_D_COURSE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.teacherServiceDistribution.TSDCurricularCourseGroup';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacherServiceDistribution.TSDRealTeacher';
update T_S_D_TEACHER set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.teacherServiceDistribution.TSDRealTeacher';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacherServiceDistribution.TSDTeacher';
update T_S_D_TEACHER set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.teacherServiceDistribution.TSDTeacher';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacherServiceDistribution.TSDVirtualCourseGroup';
update T_S_D_COURSE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.teacherServiceDistribution.TSDVirtualCourseGroup';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.teacherServiceDistribution.TSDVirtualTeacher';
update T_S_D_TEACHER set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.teacherServiceDistribution.TSDVirtualTeacher';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewAllGroup';
update NEW_TEST_ELEMENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.tests.NewAllGroup';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewAtomicQuestion';
update NEW_TEST_ELEMENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.tests.NewAtomicQuestion';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewChoice';
update NEW_TEST_ELEMENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.tests.NewChoice';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewDateQuestion';
update NEW_TEST_ELEMENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.tests.NewDateQuestion';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewMathMlMaterial';
update NEW_PRESENTATION_MATERIAL set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.tests.NewMathMlMaterial';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewModelGroup';
update NEW_TEST_ELEMENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.tests.NewModelGroup';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewModelRestriction';
update NEW_TEST_ELEMENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.tests.NewModelRestriction';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewMultipleChoiceQuestion';
update NEW_TEST_ELEMENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.tests.NewMultipleChoiceQuestion';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewNumericQuestion';
update NEW_TEST_ELEMENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.tests.NewNumericQuestion';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewPictureMaterial';
update NEW_PRESENTATION_MATERIAL set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.tests.NewPictureMaterial';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewPresentationMaterial';
update NEW_PRESENTATION_MATERIAL set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.tests.NewPresentationMaterial';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewQuestion';
update NEW_TEST_ELEMENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.tests.NewQuestion';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewQuestionBank';
update NEW_TEST_ELEMENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.tests.NewQuestionBank';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewQuestionGroup';
update NEW_TEST_ELEMENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.tests.NewQuestionGroup';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewSection';
update NEW_TEST_ELEMENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.tests.NewSection';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewStringMaterial';
update NEW_PRESENTATION_MATERIAL set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.tests.NewStringMaterial';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewStringQuestion';
update NEW_TEST_ELEMENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.tests.NewStringQuestion';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewTest';
update NEW_TEST_ELEMENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.tests.NewTest';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewTestElement';
update NEW_TEST_ELEMENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.tests.NewTestElement';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.NewTestModel';
update NEW_TEST_ELEMENT set OID = (@xpto << 32) + ID_INTERNAL, CREATED = CREATED where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.tests.NewTestModel';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.tests.PictureMaterialFile';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.tests.PictureMaterialFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.thesis.ThesisFile';
update FILE set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.thesis.ThesisFile';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.thesis.ThesisLibraryArchiveOperation';
update THESIS_LIBRARY_OPERATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.thesis.ThesisLibraryArchiveOperation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.thesis.ThesisLibraryCancelOperation';
update THESIS_LIBRARY_OPERATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.thesis.ThesisLibraryCancelOperation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.thesis.ThesisLibraryOperation';
update THESIS_LIBRARY_OPERATION set OID = (@xpto << 32) + ID_INTERNAL, OPERATION = OPERATION where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.thesis.ThesisLibraryOperation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.thesis.ThesisLibraryPendingOperation';
update THESIS_LIBRARY_OPERATION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.thesis.ThesisLibraryPendingOperation';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.thesis.ThesisSite';
update CONTENT set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.thesis.ThesisSite';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.time.calendarStructure.AcademicCalendarEntry';
update ACADEMIC_CALENDAR_ENTRY set OID = (@xpto << 32) + ID_INTERNAL, BEGIN = BEGIN, END = END where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.time.calendarStructure.AcademicCalendarEntry';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.time.calendarStructure.AcademicCalendarRootEntry';
update ACADEMIC_CALENDAR_ENTRY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.time.calendarStructure.AcademicCalendarRootEntry';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.time.calendarStructure.AcademicSemesterCE';
update ACADEMIC_CALENDAR_ENTRY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.time.calendarStructure.AcademicSemesterCE';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.time.calendarStructure.AcademicTrimesterCE';
update ACADEMIC_CALENDAR_ENTRY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.time.calendarStructure.AcademicTrimesterCE';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.time.calendarStructure.AcademicYearCE';
update ACADEMIC_CALENDAR_ENTRY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.time.calendarStructure.AcademicYearCE';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.time.calendarStructure.EnrolmentsPeriodCE';
update ACADEMIC_CALENDAR_ENTRY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.time.calendarStructure.EnrolmentsPeriodCE';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.time.calendarStructure.ExamsPeriodCE';
update ACADEMIC_CALENDAR_ENTRY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.time.calendarStructure.ExamsPeriodCE';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.time.calendarStructure.ExamsPeriodInNormalSeasonCE';
update ACADEMIC_CALENDAR_ENTRY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.time.calendarStructure.ExamsPeriodInNormalSeasonCE';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.time.calendarStructure.ExamsPeriodInSpecialSeasonCE';
update ACADEMIC_CALENDAR_ENTRY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.time.calendarStructure.ExamsPeriodInSpecialSeasonCE';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.time.calendarStructure.GradeSubmissionCE';
update ACADEMIC_CALENDAR_ENTRY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.time.calendarStructure.GradeSubmissionCE';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.time.calendarStructure.GradeSubmissionInNormalSeasonCE';
update ACADEMIC_CALENDAR_ENTRY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.time.calendarStructure.GradeSubmissionInNormalSeasonCE';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.time.calendarStructure.GradeSubmissionInSpecialSeasonCE';
update ACADEMIC_CALENDAR_ENTRY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.time.calendarStructure.GradeSubmissionInSpecialSeasonCE';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.time.calendarStructure.LessonsPeriodCE';
update ACADEMIC_CALENDAR_ENTRY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.time.calendarStructure.LessonsPeriodCE';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.time.calendarStructure.TeacherCreditsFillingCE';
update ACADEMIC_CALENDAR_ENTRY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.time.calendarStructure.TeacherCreditsFillingCE';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.time.calendarStructure.TeacherCreditsFillingForDepartmentAdmOfficeCE';
update ACADEMIC_CALENDAR_ENTRY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.time.calendarStructure.TeacherCreditsFillingForDepartmentAdmOfficeCE';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.time.calendarStructure.TeacherCreditsFillingForTeacherCE';
update ACADEMIC_CALENDAR_ENTRY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.time.calendarStructure.TeacherCreditsFillingForTeacherCE';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.transactions.GratuityTransaction';
update TRANSACTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.transactions.GratuityTransaction';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.transactions.InsuranceTransaction';
update TRANSACTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.transactions.InsuranceTransaction';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.transactions.PaymentTransaction';
update TRANSACTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.transactions.PaymentTransaction';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.transactions.ReimbursementTransaction';
update TRANSACTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.transactions.ReimbursementTransaction';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.transactions.SmsTransaction';
update TRANSACTION set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.transactions.SmsTransaction';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.transactions.Transaction';
update TRANSACTION set OID = (@xpto << 32) + ID_INTERNAL, TRANSACTION_DATE_DATE_TIME = TRANSACTION_DATE_DATE_TIME where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.transactions.Transaction';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.util.email.ConcreteReplyTo';
update REPLY_TO set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.util.email.ConcreteReplyTo';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.util.email.CoordinatorSender';
update SENDER set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.util.email.CoordinatorSender';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.util.email.CurrentUserReplyTo';
update REPLY_TO set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.util.email.CurrentUserReplyTo';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.util.email.ExecutionCourseReplyTo';
update REPLY_TO set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.util.email.ExecutionCourseReplyTo';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.util.email.ExecutionCourseSender';
update SENDER set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.util.email.ExecutionCourseSender';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.util.email.PersonFunctionSender';
update SENDER set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.util.email.PersonFunctionSender';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.util.email.PersonReplyTo';
update REPLY_TO set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.util.email.PersonReplyTo';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.util.email.PersonSender';
update SENDER set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.util.email.PersonSender';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.util.email.ReplyTo';
update REPLY_TO set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.util.email.ReplyTo';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.util.email.ResearchUnitBasedSender';
update SENDER set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.util.email.ResearchUnitBasedSender';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.util.email.Sender';
update SENDER set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.util.email.Sender';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.util.email.SystemSender';
update SENDER set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.util.email.SystemSender';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.util.email.UnitBasedSender';
update SENDER set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.util.email.UnitBasedSender';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.vigilancy.OtherCourseVigilancy';
update VIGILANCY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.vigilancy.OtherCourseVigilancy';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.vigilancy.OwnCourseVigilancy';
update VIGILANCY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.vigilancy.OwnCourseVigilancy';
select @xpto:=null;
select @xpto:=FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_ID from FF$DOMAIN_CLASS_INFO where FF$DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = 'net.sourceforge.fenixedu.domain.vigilancy.Vigilancy';
update VIGILANCY set OID = (@xpto << 32) + ID_INTERNAL where OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.vigilancy.Vigilancy';
update FILE as t1, RECEIPT as t2 set t1.OID_SOURCE = t2.OID where t2.ID_INTERNAL = t1.KEY_SOURCE;
update FUNCTIONALITY_PRINTERS as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update UNIT_FUNCTIONALITY_PRINTERS as t1, FUNCTIONALITY_PRINTERS as t2 set t1.OID_FUNCTIONALITY_PRINTERS = t2.OID where t2.ID_INTERNAL = t1.KEY_FUNCTIONALITY_PRINTERS;
update UNIT_FUNCTIONALITY_PRINTERS as t1, PARTY as t2 set t1.OID_UNIT = t2.OID where t2.ID_INTERNAL = t1.KEY_UNIT;
update PHD_CANDIDACY_REFEREE_LETTER as t1, FILE as t2 set t1.OID_FILE = t2.OID where t2.ID_INTERNAL = t1.KEY_FILE;
update PHD_CANDIDACY_REFEREE_LETTER as t1, COUNTRY as t2 set t1.OID_REFEREE_COUNTRY = t2.OID where t2.ID_INTERNAL = t1.KEY_REFEREE_COUNTRY;
update PHD_CANDIDACY_REFEREE_LETTER as t1, PROCESS as t2 set t1.OID_PHD_PROGRAM_CANDIDACY_PROCESS = t2.OID where t2.ID_INTERNAL = t1.KEY_PHD_PROGRAM_CANDIDACY_PROCESS;
update PHD_CANDIDACY_REFEREE_LETTER as t1, PUBLIC_CANDIDACY_HASH_CODE as t2 set t1.OID_CANDIDACY_REFEREE = t2.OID where t2.ID_INTERNAL = t1.KEY_CANDIDACY_REFEREE;
update PHD_CANDIDACY_REFEREE_LETTER as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update CONTENT as t1, EXECUTION_COURSE as t2 set t1.OID_EXECUTION_COURSE = t2.OID where t2.ID_INTERNAL = t1.KEY_EXECUTION_COURSE;
update UNIT_NAME as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update UNIT_NAME as t1, PARTY as t2 set t1.OID_UNIT = t2.OID where t2.ID_INTERNAL = t1.KEY_UNIT;
update UNIT_NAME_UNIT_NAME_PART as t1, UNIT_NAME as t2 set t1.OID_UNIT_NAME = t2.OID where t2.ID_INTERNAL = t1.KEY_UNIT_NAME;
update UNIT_NAME_UNIT_NAME_PART as t1, UNIT_NAME_PART as t2 set t1.OID_UNIT_NAME_PART = t2.OID where t2.ID_INTERNAL = t1.KEY_UNIT_NAME_PART;
update EVENT as t1, ACADEMIC_SERVICE_REQUEST as t2 set t1.OID_ACADEMIC_SERVICE_REQUEST = t2.OID where t2.ID_INTERNAL = t1.KEY_ACADEMIC_SERVICE_REQUEST;
update EXECUTION_INTERVAL as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT_FOR_EXECUTION_PERIOD = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT_FOR_EXECUTION_PERIOD;
update T_S_D_PROCESS_EXECUTION_PERIOD as t1, T_S_D_PROCESS as t2 set t1.OID_T_S_D_PROCESS = t2.OID where t2.ID_INTERNAL = t1.KEY_T_S_D_PROCESS;
update T_S_D_PROCESS_EXECUTION_PERIOD as t1, EXECUTION_INTERVAL as t2 set t1.OID_EXECUTION_SEMESTER = t2.OID where t2.ID_INTERNAL = t1.KEY_EXECUTION_SEMESTER;
update EXECUTION_INTERVAL as t1, EXECUTION_INTERVAL as t2 set t1.OID_EXECUTION_YEAR = t2.OID where t2.ID_INTERNAL = t1.KEY_EXECUTION_YEAR;
update PARTIAL_REGIME_INSTALLMENT_EXECUTION_SEMESTER as t1, INSTALLMENT as t2 set t1.OID_PARTIAL_REGIME_INSTALLMENT = t2.OID where t2.ID_INTERNAL = t1.KEY_PARTIAL_REGIME_INSTALLMENT;
update PARTIAL_REGIME_INSTALLMENT_EXECUTION_SEMESTER as t1, EXECUTION_INTERVAL as t2 set t1.OID_EXECUTION_SEMESTER = t2.OID where t2.ID_INTERNAL = t1.KEY_EXECUTION_SEMESTER;
update STUDENT_TEST_LOG as t1, REGISTRATION as t2 set t1.OID_STUDENT = t2.OID, t1.DATE_DATE_TIME = t1.DATE_DATE_TIME where t2.ID_INTERNAL = t1.KEY_STUDENT;
update STUDENT_TEST_LOG as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID, t1.DATE_DATE_TIME = t1.DATE_DATE_TIME where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update STUDENT_TEST_LOG as t1, DISTRIBUTED_TEST as t2 set t1.OID_DISTRIBUTED_TEST = t2.OID, t1.DATE_DATE_TIME = t1.DATE_DATE_TIME where t2.ID_INTERNAL = t1.KEY_DISTRIBUTED_TEST;
update CATEGORY as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update CONTENT as t1, THESIS as t2 set t1.OID_THESIS = t2.OID where t2.ID_INTERNAL = t1.KEY_THESIS;
update MASTER_DEGREE_THESIS_DATA_VERSION_GUIDER as t1, MASTER_DEGREE_THESIS_DATA_VERSION as t2 set t1.OID_MASTER_DEGREE_THESIS_DATA_VERSION = t2.OID where t2.ID_INTERNAL = t1.KEY_MASTER_DEGREE_THESIS_DATA_VERSION;
update MASTER_DEGREE_THESIS_DATA_VERSION_GUIDER as t1, TEACHER as t2 set t1.OID_TEACHER = t2.OID where t2.ID_INTERNAL = t1.KEY_TEACHER;
update TEACHER as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update MASTER_DEGREE_THESIS_DATA_VERSION_ASSISTENT_GUIDER as t1, MASTER_DEGREE_THESIS_DATA_VERSION as t2 set t1.OID_MASTER_DEGREE_THESIS_DATA_VERSION = t2.OID where t2.ID_INTERNAL = t1.KEY_MASTER_DEGREE_THESIS_DATA_VERSION;
update MASTER_DEGREE_THESIS_DATA_VERSION_ASSISTENT_GUIDER as t1, TEACHER as t2 set t1.OID_TEACHER = t2.OID where t2.ID_INTERNAL = t1.KEY_TEACHER;
update MASTER_DEGREE_PROOF_VERSION_JURY as t1, MASTER_DEGREE_PROOF_VERSION as t2 set t1.OID_MASTER_DEGREE_PROOF_VERSION = t2.OID where t2.ID_INTERNAL = t1.KEY_MASTER_DEGREE_PROOF_VERSION;
update MASTER_DEGREE_PROOF_VERSION_JURY as t1, TEACHER as t2 set t1.OID_TEACHER = t2.OID where t2.ID_INTERNAL = t1.KEY_TEACHER;
update TEACHER as t1, SERVICE_PROVIDER_REGIME as t2 set t1.OID_SERVICE_PROVIDER_REGIME = t2.OID where t2.ID_INTERNAL = t1.KEY_SERVICE_PROVIDER_REGIME;
update TEACHER as t1, WEEKLY_OCUPATION as t2 set t1.OID_WEEKLY_OCUPATION = t2.OID where t2.ID_INTERNAL = t1.KEY_WEEKLY_OCUPATION;
update TEACHER as t1, PARTY as t2 set t1.OID_PERSON = t2.OID where t2.ID_INTERNAL = t1.KEY_PERSON;
update CURRICULAR_RULE as t1, PARTY as t2 set t1.OID_DEPARTMENT_UNIT = t2.OID where t2.ID_INTERNAL = t1.KEY_DEPARTMENT_UNIT;
update CURRICULAR_RULE as t1, DEGREE as t2 set t1.OID_DEGREE = t2.OID where t2.ID_INTERNAL = t1.KEY_DEGREE;
update NEW_TEST_GROUP as t1, TEACHER as t2 set t1.OID_CREATOR = t2.OID, t1.BEGIN_DATE = t1.BEGIN_DATE, t1.FINAL_DATE = t1.FINAL_DATE where t2.ID_INTERNAL = t1.KEY_CREATOR;
update NEW_TEST_GROUP as t1, EXECUTION_COURSE as t2 set t1.OID_EXECUTION_COURSE = t2.OID, t1.BEGIN_DATE = t1.BEGIN_DATE, t1.FINAL_DATE = t1.FINAL_DATE where t2.ID_INTERNAL = t1.KEY_EXECUTION_COURSE;
update NEW_TEST_GROUP as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID, t1.BEGIN_DATE = t1.BEGIN_DATE, t1.FINAL_DATE = t1.FINAL_DATE where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update GROUPING_ATTENDS as t1, ATTENDS as t2 set t1.OID_ATTENDS = t2.OID where t2.ID_INTERNAL = t1.KEY_ATTENDS;
update GROUPING_ATTENDS as t1, GROUPING as t2 set t1.OID_GROUPING = t2.OID where t2.ID_INTERNAL = t1.KEY_GROUPING;
update GROUPING as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID, t1.ENROLMENT_BEGIN_DAY_DATE_DATE_TIME = t1.ENROLMENT_BEGIN_DAY_DATE_DATE_TIME, t1.ENROLMENT_END_DAY_DATE_DATE_TIME = t1.ENROLMENT_END_DAY_DATE_DATE_TIME where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update ENROLMENT_WRAPPER as t1, EXTERNAL_ENROLMENT as t2 set t1.OID_ENROLMENT = t2.OID where t2.ID_INTERNAL = t1.KEY_ENROLMENT;
update SEMINARY as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update CONCLUSION_PROCESS as t1, CURRICULUM_MODULE as t2 set t1.OID_CYCLE = t2.OID where t2.ID_INTERNAL = t1.KEY_CYCLE;
update SPACE_INFORMATION as t1, ROOM_CLASSIFICATION as t2 set t1.OID_ROOM_CLASSIFICATION = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOM_CLASSIFICATION;
update CARD_GENERATION_PROBLEM as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update CARD_GENERATION_PROBLEM as t1, CARD_GENERATION_BATCH as t2 set t1.OID_CARD_GENERATION_BATCH = t2.OID where t2.ID_INTERNAL = t1.KEY_CARD_GENERATION_BATCH;
update CARD_GENERATION_PROBLEM as t1, PARTY as t2 set t1.OID_PERSON = t2.OID where t2.ID_INTERNAL = t1.KEY_PERSON;
update UNIT_EXTRA_WORK_MOVEMENT as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID, t1.DATE = t1.DATE where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update UNIT_EXTRA_WORK_MOVEMENT as t1, UNIT_EXTRA_WORK_AMOUNT as t2 set t1.OID_UNIT_EXTRA_WORK_AMOUNT = t2.OID, t1.DATE = t1.DATE where t2.ID_INTERNAL = t1.KEY_UNIT_EXTRA_WORK_AMOUNT;
update META_DOMAIN_OBJECT as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update CURRICULAR_YEAR as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update CURRICULUM_LINE_LOG as t1, DEGREE_MODULE as t2 set t1.OID_OPTIONAL_CURRICULAR_COURSE = t2.OID where t2.ID_INTERNAL = t1.KEY_OPTIONAL_CURRICULAR_COURSE;
update EVENT as t1, REGISTRATION as t2 set t1.OID_REGISTRATION = t2.OID where t2.ID_INTERNAL = t1.KEY_REGISTRATION;
update CONTENT as t1, CONTENT as t2 set t1.OID_FUNCTIONALITY = t2.OID where t2.ID_INTERNAL = t1.KEY_FUNCTIONALITY;
update EXTERNAL_ENROLMENT as t1, REGISTRATION as t2 set t1.OID_REGISTRATION = t2.OID, t1.CREATION_DATE_DATE_TIME = t1.CREATION_DATE_DATE_TIME where t2.ID_INTERNAL = t1.KEY_REGISTRATION;
update EXTERNAL_ENROLMENT_NOT_NEED_TO_ENROLL_IN_CURRICULAR_COURSE as t1, EXTERNAL_ENROLMENT as t2 set t1.OID_EXTERNAL_ENROLMENT = t2.OID where t2.ID_INTERNAL = t1.KEY_EXTERNAL_ENROLMENT;
update EXTERNAL_ENROLMENT_NOT_NEED_TO_ENROLL_IN_CURRICULAR_COURSE as t1, NOT_NEED_TO_ENROLL_IN_CURRICULAR_COURSE as t2 set t1.OID_NOT_NEED_TO_ENROLL_IN_CURRICULAR_COURSE = t2.OID where t2.ID_INTERNAL = t1.KEY_NOT_NEED_TO_ENROLL_IN_CURRICULAR_COURSE;
update EXTERNAL_ENROLMENT as t1, EXECUTION_INTERVAL as t2 set t1.OID_EXECUTION_PERIOD = t2.OID, t1.CREATION_DATE_DATE_TIME = t1.CREATION_DATE_DATE_TIME where t2.ID_INTERNAL = t1.KEY_EXECUTION_PERIOD;
update EXTERNAL_ENROLMENT as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID, t1.CREATION_DATE_DATE_TIME = t1.CREATION_DATE_DATE_TIME where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update EXTERNAL_ENROLMENT as t1, EXTERNAL_CURRICULAR_COURSE as t2 set t1.OID_EXTERNAL_CURRICULAR_COURSE = t2.OID, t1.CREATION_DATE_DATE_TIME = t1.CREATION_DATE_DATE_TIME where t2.ID_INTERNAL = t1.KEY_EXTERNAL_CURRICULAR_COURSE;
update LESSON_PLANNING as t1, EXECUTION_COURSE as t2 set t1.OID_EXECUTION_COURSE = t2.OID where t2.ID_INTERNAL = t1.KEY_EXECUTION_COURSE;
update LESSON_PLANNING as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update FILE as t1, QUEUE_JOB as t2 set t1.OID_JOB = t2.OID where t2.ID_INTERNAL = t1.KEY_JOB;
update FILE as t1, PROTOCOL as t2 set t1.OID_PROTOCOL = t2.OID where t2.ID_INTERNAL = t1.KEY_PROTOCOL;
update ASSIDUOUSNESS_STATUS as t1, EMPLOYEE as t2 set t1.OID_MODIFIED_BY = t2.OID, t1.LAST_MODIFIED_DATE = t1.LAST_MODIFIED_DATE where t2.ID_INTERNAL = t1.KEY_MODIFIED_BY;
update ASSIDUOUSNESS_STATUS as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID, t1.LAST_MODIFIED_DATE = t1.LAST_MODIFIED_DATE where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update PHD_PROGRAM_PHD_PROGRAM_FOCUS_AREA as t1, PHD_PROGRAM as t2 set t1.OID_PHD_PROGRAM = t2.OID where t2.ID_INTERNAL = t1.KEY_PHD_PROGRAM;
update PHD_PROGRAM_PHD_PROGRAM_FOCUS_AREA as t1, PHD_PROGRAM_FOCUS_AREA as t2 set t1.OID_PHD_PROGRAM_FOCUS_AREA = t2.OID where t2.ID_INTERNAL = t1.KEY_PHD_PROGRAM_FOCUS_AREA;
update PHD_PROGRAM_FOCUS_AREA as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID, t1.WHEN_CREATED = t1.WHEN_CREATED where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update EXPECTATION_EVALUATION_GROUP as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update EXPECTATION_EVALUATION_GROUP as t1, TEACHER as t2 set t1.OID_EVALUATED = t2.OID where t2.ID_INTERNAL = t1.KEY_EVALUATED;
update EXPECTATION_EVALUATION_GROUP as t1, TEACHER as t2 set t1.OID_APPRAISER = t2.OID where t2.ID_INTERNAL = t1.KEY_APPRAISER;
update EXPECTATION_EVALUATION_GROUP as t1, EXECUTION_INTERVAL as t2 set t1.OID_EXECUTION_YEAR = t2.OID where t2.ID_INTERNAL = t1.KEY_EXECUTION_YEAR;
update UNIT_SITE_LINK as t1, CONTENT as t2 set t1.OID_TOP_UNIT_SITE = t2.OID where t2.ID_INTERNAL = t1.KEY_TOP_UNIT_SITE;
update UNIT_SITE_LINK as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update UNIT_SITE_LINK as t1, CONTENT as t2 set t1.OID_FOOTER_UNIT_SITE = t2.OID where t2.ID_INTERNAL = t1.KEY_FOOTER_UNIT_SITE;
update T_S_D_CURRICULAR_LOAD as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update T_S_D_CURRICULAR_LOAD as t1, T_S_D_COURSE as t2 set t1.OID_T_S_D_COURSE = t2.OID where t2.ID_INTERNAL = t1.KEY_T_S_D_COURSE;
update MESSAGE as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT_FROM_PENDING_RELATION = t2.OID, t1.CREATED = t1.CREATED, t1.SENT = t1.SENT where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT_FROM_PENDING_RELATION;
update UTIL_EMAIL_REPLY_TO_UTIL_EMAIL_MESSAGE as t1, REPLY_TO as t2 set t1.OID_REPLY_TO = t2.OID where t2.ID_INTERNAL = t1.KEY_REPLY_TO;
update UTIL_EMAIL_REPLY_TO_UTIL_EMAIL_MESSAGE as t1, MESSAGE as t2 set t1.OID_MESSAGE = t2.OID where t2.ID_INTERNAL = t1.KEY_MESSAGE;
update UTIL_EMAIL_MESSAGE_UTIL_EMAIL_RECIPIENT_TOS as t1, MESSAGE as t2 set t1.OID_MESSAGE = t2.OID where t2.ID_INTERNAL = t1.KEY_MESSAGE;
update UTIL_EMAIL_MESSAGE_UTIL_EMAIL_RECIPIENT_TOS as t1, RECIPIENT as t2 set t1.OID_RECIPIENT = t2.OID where t2.ID_INTERNAL = t1.KEY_RECIPIENT;
update MESSAGE as t1, SENDER as t2 set t1.OID_SENDER = t2.OID, t1.CREATED = t1.CREATED, t1.SENT = t1.SENT where t2.ID_INTERNAL = t1.KEY_SENDER;
update MESSAGE as t1, PARTY as t2 set t1.OID_PERSON = t2.OID, t1.CREATED = t1.CREATED, t1.SENT = t1.SENT where t2.ID_INTERNAL = t1.KEY_PERSON;
update UTIL_EMAIL_MESSAGE_UTIL_EMAIL_RECIPIENT as t1, MESSAGE as t2 set t1.OID_MESSAGE = t2.OID where t2.ID_INTERNAL = t1.KEY_MESSAGE;
update UTIL_EMAIL_MESSAGE_UTIL_EMAIL_RECIPIENT as t1, RECIPIENT as t2 set t1.OID_RECIPIENT = t2.OID where t2.ID_INTERNAL = t1.KEY_RECIPIENT;
update UTIL_EMAIL_MESSAGE_UTIL_EMAIL_RECIPIENT_CCS as t1, MESSAGE as t2 set t1.OID_MESSAGE = t2.OID where t2.ID_INTERNAL = t1.KEY_MESSAGE;
update UTIL_EMAIL_MESSAGE_UTIL_EMAIL_RECIPIENT_CCS as t1, RECIPIENT as t2 set t1.OID_RECIPIENT = t2.OID where t2.ID_INTERNAL = t1.KEY_RECIPIENT;
update MESSAGE as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID, t1.CREATED = t1.CREATED, t1.SENT = t1.SENT where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update FILE as t1, PROJECT_SUBMISSION as t2 set t1.OID_PROJECT_SUBMISSION = t2.OID where t2.ID_INTERNAL = t1.KEY_PROJECT_SUBMISSION;
update LESSON_INSTANCE as t1, SUMMARY as t2 set t1.OID_SUMMARY = t2.OID, t1.BEGIN_DATE_TIME = t1.BEGIN_DATE_TIME, t1.END_DATE_TIME = t1.END_DATE_TIME where t2.ID_INTERNAL = t1.KEY_SUMMARY;
update LESSON_INSTANCE as t1, RESOURCE_ALLOCATION as t2 set t1.OID_LESSON_INSTANCE_SPACE_OCCUPATION = t2.OID, t1.BEGIN_DATE_TIME = t1.BEGIN_DATE_TIME, t1.END_DATE_TIME = t1.END_DATE_TIME where t2.ID_INTERNAL = t1.KEY_LESSON_INSTANCE_SPACE_OCCUPATION;
update LESSON_INSTANCE as t1, COURSE_LOAD as t2 set t1.OID_COURSE_LOAD = t2.OID, t1.BEGIN_DATE_TIME = t1.BEGIN_DATE_TIME, t1.END_DATE_TIME = t1.END_DATE_TIME where t2.ID_INTERNAL = t1.KEY_COURSE_LOAD;
update LESSON_INSTANCE as t1, LESSON as t2 set t1.OID_LESSON = t2.OID, t1.BEGIN_DATE_TIME = t1.BEGIN_DATE_TIME, t1.END_DATE_TIME = t1.END_DATE_TIME where t2.ID_INTERNAL = t1.KEY_LESSON;
update LESSON_INSTANCE as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID, t1.BEGIN_DATE_TIME = t1.BEGIN_DATE_TIME, t1.END_DATE_TIME = t1.END_DATE_TIME where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update ACADEMIC_SERVICE_REQUEST as t1, PARTY as t2 set t1.OID_INSTITUTION = t2.OID where t2.ID_INTERNAL = t1.KEY_INSTITUTION;
update FILE as t1, NEW_PARKING_DOCUMENT as t2 set t1.OID_NEW_PARKING_DOCUMENT = t2.OID where t2.ID_INTERNAL = t1.KEY_NEW_PARKING_DOCUMENT;
update EVENT as t1, PROCESS as t2 set t1.OID_CANDIDACY_PROCESS = t2.OID where t2.ID_INTERNAL = t1.KEY_CANDIDACY_PROCESS;
update COORDINATOR_EXECUTION_DEGREE_COURSES_REPORT as t1, EXECUTION_DEGREE as t2 set t1.OID_EXECUTION_DEGREE = t2.OID, t1.LAST_EDITION_DATE = t1.LAST_EDITION_DATE where t2.ID_INTERNAL = t1.KEY_EXECUTION_DEGREE;
update COORDINATOR_EXECUTION_DEGREE_COURSES_REPORT as t1, COORDINATOR as t2 set t1.OID_COORDINATOR = t2.OID, t1.LAST_EDITION_DATE = t1.LAST_EDITION_DATE where t2.ID_INTERNAL = t1.KEY_COORDINATOR;
update COORDINATOR_EXECUTION_DEGREE_COURSES_REPORT as t1, EXECUTION_INTERVAL as t2 set t1.OID_EXECUTION_INTERVAL = t2.OID, t1.LAST_EDITION_DATE = t1.LAST_EDITION_DATE where t2.ID_INTERNAL = t1.KEY_EXECUTION_INTERVAL;
update COORDINATOR_EXECUTION_DEGREE_COURSES_REPORT as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID, t1.LAST_EDITION_DATE = t1.LAST_EDITION_DATE where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update FILE as t1, PROCESS as t2 set t1.OID_PHD_CANDIDACY_PROCESS = t2.OID where t2.ID_INTERNAL = t1.KEY_PHD_CANDIDACY_PROCESS;
update FILE as t1, PARTY as t2 set t1.OID_UPLOADER = t2.OID where t2.ID_INTERNAL = t1.KEY_UPLOADER;
update QUALIFICATION as t1, PARTY as t2 set t1.OID_CREATOR = t2.OID, t1.LAST_MODIFICATION_DATE_DATE_TIME = t1.LAST_MODIFICATION_DATE_DATE_TIME where t2.ID_INTERNAL = t1.KEY_CREATOR;
update QUALIFICATION as t1, PARTY as t2 set t1.OID_PERSON = t2.OID, t1.LAST_MODIFICATION_DATE_DATE_TIME = t1.LAST_MODIFICATION_DATE_DATE_TIME where t2.ID_INTERNAL = t1.KEY_PERSON;
update QUALIFICATION as t1, COUNTRY as t2 set t1.OID_COUNTRY = t2.OID, t1.LAST_MODIFICATION_DATE_DATE_TIME = t1.LAST_MODIFICATION_DATE_DATE_TIME where t2.ID_INTERNAL = t1.KEY_COUNTRY;
update QUALIFICATION as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID, t1.LAST_MODIFICATION_DATE_DATE_TIME = t1.LAST_MODIFICATION_DATE_DATE_TIME where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update EXTERNAL_ACTIVITY as t1, TEACHER as t2 set t1.OID_TEACHER = t2.OID, t1.LAST_MODIFICATION_DATE_DATE_TIME = t1.LAST_MODIFICATION_DATE_DATE_TIME where t2.ID_INTERNAL = t1.KEY_TEACHER;
update EXTERNAL_ACTIVITY as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID, t1.LAST_MODIFICATION_DATE_DATE_TIME = t1.LAST_MODIFICATION_DATE_DATE_TIME where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update CONTRACT_SITUATION as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update AFFINITY_CYCLE_COURSE_GROUP as t1, DEGREE_MODULE as t2 set t1.OID_CYCLE_COURSE_GROUP_SOURCE_AFFINITIES = t2.OID where t2.ID_INTERNAL = t1.KEY_CYCLE_COURSE_GROUP_SOURCE_AFFINITIES;
update AFFINITY_CYCLE_COURSE_GROUP as t1, DEGREE_MODULE as t2 set t1.OID_CYCLE_COURSE_GROUP_DESTINATION_AFFINITIES = t2.OID where t2.ID_INTERNAL = t1.KEY_CYCLE_COURSE_GROUP_DESTINATION_AFFINITIES;
update PAYMENT_CODE as t1, GRATUITY_SITUATION as t2 set t1.OID_GRATUITY_SITUATION = t2.OID where t2.ID_INTERNAL = t1.KEY_GRATUITY_SITUATION;
update GUIDE as t1, PARTY as t2 set t1.OID_PERSON = t2.OID where t2.ID_INTERNAL = t1.KEY_PERSON;
update GUIDE as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update GUIDE as t1, EXECUTION_DEGREE as t2 set t1.OID_EXECUTION_DEGREE = t2.OID where t2.ID_INTERNAL = t1.KEY_EXECUTION_DEGREE;
update GUIDE as t1, CONTRIBUTOR as t2 set t1.OID_CONTRIBUTOR = t2.OID where t2.ID_INTERNAL = t1.KEY_CONTRIBUTOR;
update GUIDE as t1, PARTY as t2 set t1.OID_CONTRIBUTOR_PARTY = t2.OID where t2.ID_INTERNAL = t1.KEY_CONTRIBUTOR_PARTY;
update STUDENT_INQUIRIES_TEACHING_RESULT as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID, t1.UPLOAD_DATE_TIME = t1.UPLOAD_DATE_TIME where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update STUDENT_INQUIRIES_TEACHING_RESULT as t1, PROFESSORSHIP as t2 set t1.OID_PROFESSORSHIP = t2.OID, t1.UPLOAD_DATE_TIME = t1.UPLOAD_DATE_TIME where t2.ID_INTERNAL = t1.KEY_PROFESSORSHIP;
update STUDENT_INQUIRIES_TEACHING_RESULT as t1, EXECUTION_DEGREE as t2 set t1.OID_EXECUTION_DEGREE = t2.OID, t1.UPLOAD_DATE_TIME = t1.UPLOAD_DATE_TIME where t2.ID_INTERNAL = t1.KEY_EXECUTION_DEGREE;
update PAYMENT_CODE as t1, EVENT as t2 set t1.OID_ACCOUNTING_EVENT = t2.OID where t2.ID_INTERNAL = t1.KEY_ACCOUNTING_EVENT;
update DEPARTMENT_DEGREE as t1, DEPARTMENT as t2 set t1.OID_DEPARTMENT = t2.OID where t2.ID_INTERNAL = t1.KEY_DEPARTMENT;
update DEPARTMENT_DEGREE as t1, DEGREE as t2 set t1.OID_DEGREE = t2.OID where t2.ID_INTERNAL = t1.KEY_DEGREE;
update DEPARTMENT as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update COMPETENCE_COURSE_DEPARTMENT as t1, COMPETENCE_COURSE as t2 set t1.OID_COMPETENCE_COURSE = t2.OID where t2.ID_INTERNAL = t1.KEY_COMPETENCE_COURSE;
update COMPETENCE_COURSE_DEPARTMENT as t1, DEPARTMENT as t2 set t1.OID_DEPARTMENT = t2.OID where t2.ID_INTERNAL = t1.KEY_DEPARTMENT;
update PERSON_DEPARTMENT as t1, PARTY as t2 set t1.OID_PERSON = t2.OID where t2.ID_INTERNAL = t1.KEY_PERSON;
update PERSON_DEPARTMENT as t1, DEPARTMENT as t2 set t1.OID_DEPARTMENT = t2.OID where t2.ID_INTERNAL = t1.KEY_DEPARTMENT;
update DEPARTMENT as t1, PARTY as t2 set t1.OID_DEPARTMENT_UNIT = t2.OID where t2.ID_INTERNAL = t1.KEY_DEPARTMENT_UNIT;
update PARKING_PARTY_HISTORY as t1, PARKING_GROUP as t2 set t1.OID_PARKING_GROUP = t2.OID, t1.CARD_END_DATE = t1.CARD_END_DATE, t1.CARD_START_DATE = t1.CARD_START_DATE, t1.HISTORY_DATE = t1.HISTORY_DATE where t2.ID_INTERNAL = t1.KEY_PARKING_GROUP;
update PARKING_PARTY_HISTORY as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID, t1.CARD_END_DATE = t1.CARD_END_DATE, t1.CARD_START_DATE = t1.CARD_START_DATE, t1.HISTORY_DATE = t1.HISTORY_DATE where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update PARKING_PARTY_HISTORY as t1, PARTY as t2 set t1.OID_PARTY = t2.OID, t1.CARD_END_DATE = t1.CARD_END_DATE, t1.CARD_START_DATE = t1.CARD_START_DATE, t1.HISTORY_DATE = t1.HISTORY_DATE where t2.ID_INTERNAL = t1.KEY_PARTY;
update PROJECT as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update EVENT_EDITION as t1, RESEARCH_EVENT as t2 set t1.OID_EVENT = t2.OID where t2.ID_INTERNAL = t1.KEY_EVENT;
update EVENT_EDITION as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update COORDINATOR as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update COORDINATOR as t1, PARTY as t2 set t1.OID_PERSON = t2.OID where t2.ID_INTERNAL = t1.KEY_PERSON;
update COORDINATOR as t1, EXECUTION_DEGREE as t2 set t1.OID_EXECUTION_DEGREE = t2.OID where t2.ID_INTERNAL = t1.KEY_EXECUTION_DEGREE;
update GRANT_TYPE as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update F_A_Q_SECTION as t1, F_A_Q_SECTION as t2 set t1.OID_PARENT_SECTION = t2.OID where t2.ID_INTERNAL = t1.KEY_PARENT_SECTION;
update F_A_Q_SECTION as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update ACCOUNTABILITY as t1, CURRICULAR_YEAR as t2 set t1.OID_CURRICULAR_YEAR = t2.OID where t2.ID_INTERNAL = t1.KEY_CURRICULAR_YEAR;
update ACCOUNTABILITY as t1, DELEGATE as t2 set t1.OID_DELEGATE = t2.OID where t2.ID_INTERNAL = t1.KEY_DELEGATE;
update ACCOUNTABILITY as t1, SENDER as t2 set t1.OID_SENDER = t2.OID where t2.ID_INTERNAL = t1.KEY_SENDER;
update CASE_STUDY as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update CASE_STUDY as t1, THEME as t2 set t1.OID_SEMINARY_THEME = t2.OID where t2.ID_INTERNAL = t1.KEY_SEMINARY_THEME;
update STUDENT_CURRICULAR_PLAN as t1, EQUIVALENCE_PLAN as t2 set t1.OID_EQUIVALENCE_PLAN = t2.OID, t1.WHEN_DATE_TIME = t1.WHEN_DATE_TIME where t2.ID_INTERNAL = t1.KEY_EQUIVALENCE_PLAN;
update STUDENT_CURRICULAR_PLAN as t1, DEGREE_CURRICULAR_PLAN as t2 set t1.OID_DEGREE_CURRICULAR_PLAN = t2.OID, t1.WHEN_DATE_TIME = t1.WHEN_DATE_TIME where t2.ID_INTERNAL = t1.KEY_DEGREE_CURRICULAR_PLAN;
update STUDENT_CURRICULAR_PLAN as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID, t1.WHEN_DATE_TIME = t1.WHEN_DATE_TIME where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update STUDENT_CURRICULAR_PLAN as t1, CURRICULUM_MODULE as t2 set t1.OID_ROOT = t2.OID, t1.WHEN_DATE_TIME = t1.WHEN_DATE_TIME where t2.ID_INTERNAL = t1.KEY_ROOT;
update STUDENT_CURRICULAR_PLAN as t1, MASTER_DEGREE_THESIS as t2 set t1.OID_MASTER_DEGREE_THESIS = t2.OID, t1.WHEN_DATE_TIME = t1.WHEN_DATE_TIME where t2.ID_INTERNAL = t1.KEY_MASTER_DEGREE_THESIS;
update STUDENT_CURRICULAR_PLAN as t1, EMPLOYEE as t2 set t1.OID_EMPLOYEE = t2.OID, t1.WHEN_DATE_TIME = t1.WHEN_DATE_TIME where t2.ID_INTERNAL = t1.KEY_EMPLOYEE;
update STUDENT_CURRICULAR_PLAN as t1, REGISTRATION as t2 set t1.OID_STUDENT = t2.OID, t1.WHEN_DATE_TIME = t1.WHEN_DATE_TIME where t2.ID_INTERNAL = t1.KEY_STUDENT;
update STUDENT_CURRICULAR_PLAN as t1, BRANCH as t2 set t1.OID_BRANCH = t2.OID, t1.WHEN_DATE_TIME = t1.WHEN_DATE_TIME where t2.ID_INTERNAL = t1.KEY_BRANCH;
update CURRICULAR_RULE as t1, DEGREE_MODULE as t2 set t1.OID_PRECEDENCE_DEGREE_MODULE = t2.OID where t2.ID_INTERNAL = t1.KEY_PRECEDENCE_DEGREE_MODULE;
update GRANT_PAYMENT_ENTITY as t1, GRANT_PAYMENT_ENTITY as t2 set t1.OID_GRANT_COST_CENTER = t2.OID where t2.ID_INTERNAL = t1.KEY_GRANT_COST_CENTER;
update SERVICE_AGREEMENT as t1, PARTY as t2 set t1.OID_PERSON = t2.OID, t1.CREATION_DATE = t1.CREATION_DATE where t2.ID_INTERNAL = t1.KEY_PERSON;
update SERVICE_AGREEMENT as t1, SERVICE_AGREEMENT_TEMPLATE as t2 set t1.OID_SERVICE_AGREEMENT_TEMPLATE = t2.OID, t1.CREATION_DATE = t1.CREATION_DATE where t2.ID_INTERNAL = t1.KEY_SERVICE_AGREEMENT_TEMPLATE;
update SERVICE_AGREEMENT as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID, t1.CREATION_DATE = t1.CREATION_DATE where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update CURRICULAR_SEMESTER as t1, CURRICULAR_YEAR as t2 set t1.OID_CURRICULAR_YEAR = t2.OID where t2.ID_INTERNAL = t1.KEY_CURRICULAR_YEAR;
update CURRICULAR_SEMESTER as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update JOURNAL_ISSUE as t1, SCIENTIFIC_JOURNAL as t2 set t1.OID_SCIENTIFIC_JOURNAL = t2.OID where t2.ID_INTERNAL = t1.KEY_SCIENTIFIC_JOURNAL;
update JOURNAL_ISSUE as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update FINAL_DEGREE_WORK_GROUP as t1, EXECUTION_DEGREE as t2 set t1.OID_EXECUTION_DEGREE = t2.OID where t2.ID_INTERNAL = t1.KEY_EXECUTION_DEGREE;
update FINAL_DEGREE_WORK_GROUP as t1, PROPOSAL as t2 set t1.OID_PROPOSAL_ATTRIBUTED = t2.OID where t2.ID_INTERNAL = t1.KEY_PROPOSAL_ATTRIBUTED;
update FINAL_DEGREE_WORK_GROUP as t1, PROPOSAL as t2 set t1.OID_PROPOSAL_ATTRIBUTED_BY_TEACHER = t2.OID where t2.ID_INTERNAL = t1.KEY_PROPOSAL_ATTRIBUTED_BY_TEACHER;
update FINAL_DEGREE_WORK_GROUP as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update ADMINISTRATIVE_OFFICE as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update ADMINISTRATIVE_OFFICE as t1, SERVICE_AGREEMENT_TEMPLATE as t2 set t1.OID_SERVICE_AGREEMENT_TEMPLATE = t2.OID where t2.ID_INTERNAL = t1.KEY_SERVICE_AGREEMENT_TEMPLATE;
update ADMINISTRATIVE_OFFICE as t1, PARTY as t2 set t1.OID_UNIT = t2.OID where t2.ID_INTERNAL = t1.KEY_UNIT;
update CREDITS as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update CREDITS as t1, EXECUTION_INTERVAL as t2 set t1.OID_EXECUTION_PERIOD = t2.OID where t2.ID_INTERNAL = t1.KEY_EXECUTION_PERIOD;
update CREDITS as t1, STUDENT_CURRICULAR_PLAN as t2 set t1.OID_STUDENT_CURRICULAR_PLAN = t2.OID where t2.ID_INTERNAL = t1.KEY_STUDENT_CURRICULAR_PLAN;
update COMPETENCE_COURSE_INFORMATION_CHANGE_REQUEST as t1, EXECUTION_INTERVAL as t2 set t1.OID_EXECUTION_PERIOD = t2.OID where t2.ID_INTERNAL = t1.KEY_EXECUTION_PERIOD;
update COMPETENCE_COURSE_INFORMATION_CHANGE_REQUEST as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update COMPETENCE_COURSE_INFORMATION_CHANGE_REQUEST as t1, COMPETENCE_COURSE as t2 set t1.OID_COMPETENCE_COURSE = t2.OID where t2.ID_INTERNAL = t1.KEY_COMPETENCE_COURSE;
update COMPETENCE_COURSE_INFORMATION_CHANGE_REQUEST as t1, PARTY as t2 set t1.OID_REQUESTER = t2.OID where t2.ID_INTERNAL = t1.KEY_REQUESTER;
update COMPETENCE_COURSE_INFORMATION_CHANGE_REQUEST as t1, PARTY as t2 set t1.OID_ANALIZED_BY = t2.OID where t2.ID_INTERNAL = t1.KEY_ANALIZED_BY;
update PROJECT_SUBMISSION as t1, EVALUATION as t2 set t1.OID_PROJECT = t2.OID, t1.SUBMISSION_DATE_TIME = t1.SUBMISSION_DATE_TIME where t2.ID_INTERNAL = t1.KEY_PROJECT;
update PROJECT_SUBMISSION as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID, t1.SUBMISSION_DATE_TIME = t1.SUBMISSION_DATE_TIME where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update PROJECT_SUBMISSION as t1, STUDENT_GROUP as t2 set t1.OID_STUDENT_GROUP = t2.OID, t1.SUBMISSION_DATE_TIME = t1.SUBMISSION_DATE_TIME where t2.ID_INTERNAL = t1.KEY_STUDENT_GROUP;
update PROJECT_SUBMISSION as t1, ATTENDS as t2 set t1.OID_ATTENDS = t2.OID, t1.SUBMISSION_DATE_TIME = t1.SUBMISSION_DATE_TIME where t2.ID_INTERNAL = t1.KEY_ATTENDS;
update PROJECT_SUBMISSION as t1, FILE as t2 set t1.OID_PROJECT_SUBMISSION_FILE = t2.OID, t1.SUBMISSION_DATE_TIME = t1.SUBMISSION_DATE_TIME where t2.ID_INTERNAL = t1.KEY_PROJECT_SUBMISSION_FILE;
update RESULT_TEACHER as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update RESULT_TEACHER as t1, TEACHER as t2 set t1.OID_TEACHER = t2.OID where t2.ID_INTERNAL = t1.KEY_TEACHER;
update RESULT_TEACHER as t1, RESEARCH_RESULT as t2 set t1.OID_RESULT = t2.OID where t2.ID_INTERNAL = t1.KEY_RESULT;
update EMPLOYEE_HISTORIC as t1, EMPLOYEE as t2 set t1.OID_EMPLOYEE = t2.OID, t1.WHEN_DATE_TIME = t1.WHEN_DATE_TIME where t2.ID_INTERNAL = t1.KEY_EMPLOYEE;
update EMPLOYEE_HISTORIC as t1, COST_CENTER as t2 set t1.OID_MAILING_COST_CENTER = t2.OID, t1.WHEN_DATE_TIME = t1.WHEN_DATE_TIME where t2.ID_INTERNAL = t1.KEY_MAILING_COST_CENTER;
update EMPLOYEE_HISTORIC as t1, COST_CENTER as t2 set t1.OID_WORKING_PLACE_COST_CENTER = t2.OID, t1.WHEN_DATE_TIME = t1.WHEN_DATE_TIME where t2.ID_INTERNAL = t1.KEY_WORKING_PLACE_COST_CENTER;
update EMPLOYEE_HISTORIC as t1, EMPLOYEE as t2 set t1.OID_RESPONSABLE_EMPLOYEE = t2.OID, t1.WHEN_DATE_TIME = t1.WHEN_DATE_TIME where t2.ID_INTERNAL = t1.KEY_RESPONSABLE_EMPLOYEE;
update EMPLOYEE_HISTORIC as t1, COST_CENTER as t2 set t1.OID_SALARY_COST_CENTER = t2.OID, t1.WHEN_DATE_TIME = t1.WHEN_DATE_TIME where t2.ID_INTERNAL = t1.KEY_SALARY_COST_CENTER;
update EMPLOYEE_HISTORIC as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID, t1.WHEN_DATE_TIME = t1.WHEN_DATE_TIME where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update QUESTION as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update QUESTION as t1, METADATA as t2 set t1.OID_METADATA = t2.OID where t2.ID_INTERNAL = t1.KEY_METADATA;
update T_S_D_PROCESS as t1, DEPARTMENT as t2 set t1.OID_DEPARTMENT = t2.OID where t2.ID_INTERNAL = t1.KEY_DEPARTMENT;
update T_S_D_PROCESS as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update T_S_D_PROCESS as t1, PARTY as t2 set t1.OID_CREATOR = t2.OID where t2.ID_INTERNAL = t1.KEY_CREATOR;
update INQUIRIES_TEACHER as t1, TEACHER as t2 set t1.OID_TEACHER = t2.OID where t2.ID_INTERNAL = t1.KEY_TEACHER;
update INQUIRIES_TEACHER as t1, INQUIRIES_COURSE as t2 set t1.OID_INQUIRIES_COURSE = t2.OID where t2.ID_INTERNAL = t1.KEY_INQUIRIES_COURSE;
update INQUIRIES_TEACHER as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update INQUIRIES_TEACHER as t1, NON_AFFILIATED_TEACHER as t2 set t1.OID_NON_AFFILIATED_TEACHER = t2.OID where t2.ID_INTERNAL = t1.KEY_NON_AFFILIATED_TEACHER;
update PROFESSIONAL_SITUATION as t1, EMPLOYEE as t2 set t1.OID_EMPLOYEE = t2.OID where t2.ID_INTERNAL = t1.KEY_EMPLOYEE;
update PROFESSIONAL_SITUATION as t1, CATEGORY as t2 set t1.OID_CATEGORY = t2.OID where t2.ID_INTERNAL = t1.KEY_CATEGORY;
update PROFESSIONAL_SITUATION as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update SERVICE_PROVIDER_REGIME as t1, ROOT_DOMAIN_OBJECT as t2 set t1.OID_ROOT_DOMAIN_OBJECT = t2.OID, t1.LAST_MODIFICATION_DATE_DATE_TIME = t1.LAST_MODIFICATION_DATE_DATE_TIME where t2.ID_INTERNAL = t1.KEY_ROOT_DOMAIN_OBJECT;
update SERVICE_PROVIDER_REGIME as t1, TEACHER as t2 set t1.OID_TEACHER = t2.OID, t1.LAST_MODIFICATION_DATE_DATE_TIME = t1.LAST_MODIFICATION_DATE_DATE_TIME where t2.ID_INTERNAL = t1.KEY_TEACHER;
update DELEGATE_ELECTION as t1, CURRICULAR_YEAR as t2 set t1.OID_CURRICULAR_YEAR = t2.OID where t2.ID_INTERNAL = t1.KEY_CURRICULAR_YEAR;
