UPDATE CURRICULUM_MODULE SET CURRICULUM_MODULE.OJB_CONCRETE_CLASS = "net.sourceforge.fenixedu.domain.studentCurriculum.CreditsDismissal" WHERE CURRICULUM_MODULE.OJB_CONCRETE_CLASS LIKE "%.Dismissal" AND CURRICULUM_MODULE.KEY_DEGREE_MODULE IS NULL;