UPDATE ENROLMENT_WRAPPER SET ENROLMENT_WRAPPER.OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.studentCurriculum.ExternalEnrolmentWrapper', ENROLMENT_WRAPPER.KEY_ENROLMENT = ENROLMENT_WRAPPER.OBJECT_ID WHERE ENROLMENT_WRAPPER.CLASS_NAME = 'net.sourceforge.fenixedu.domain.studentCurriculum.ExternalEnrolment';
UPDATE ENROLMENT_WRAPPER SET ENROLMENT_WRAPPER.OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.studentCurriculum.InternalEnrolmentWrapper', ENROLMENT_WRAPPER.KEY_ENROLMENT = ENROLMENT_WRAPPER.OBJECT_ID WHERE ENROLMENT_WRAPPER.CLASS_NAME = 'net.sourceforge.fenixedu.domain.Enrolment' OR ENROLMENT_WRAPPER.CLASS_NAME = 'net.sourceforge.fenixedu.domain.EnrolmentInOptionalCurricularCourse' OR ENROLMENT_WRAPPER.CLASS_NAME = 'net.sourceforge.fenixedu.domain.ExternalDegreeEnrolment' OR ENROLMENT_WRAPPER.CLASS_NAME = 'net.sourceforge.fenixedu.domain.OptionalEnrolment';
