UPDATE POSTING_RULE SET POSTING_RULE.OJB_CONCRETE_CLASS = "net.sourceforge.fenixedu.domain.accounting.postingRules.candidacy.SecondCycleIndividualCandidacyPR" WHERE POSTING_RULE.EVENT_TYPE = "SECOND_CYCLE_INDIVIDUAL_CANDIDACY" AND POSTING_RULE.ENTRY_TYPE = "SECOND_CYCLE_INDIVIDUAL_CANDIDACY_FEE";

UPDATE POSTING_RULE SET POSTING_RULE.OJB_CONCRETE_CLASS = "net.sourceforge.fenixedu.domain.accounting.postingRules.candidacy.DegreeCandidacyForGraduatedPersonPR" WHERE POSTING_RULE.OJB_CONCRETE_CLASS = "net.sourceforge.fenixedu.domain.accounting.postingRules.DegreeCandidacyForGraduatedPersonPR"; 
UPDATE META_DOMAIN_OBJECT SET META_DOMAIN_OBJECT.TYPE = "net.sourceforge.fenixedu.domain.accounting.postingRules.candidacy.DegreeCandidacyForGraduatedPersonPR" WHERE META_DOMAIN_OBJECT.TYPE = "net.sourceforge.fenixedu.domain.accounting.postingRules.DegreeCandidacyForGraduatedPersonPR";
UPDATE DOMAIN_CLASS_INFO SET DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = "net.sourceforge.fenixedu.domain.accounting.postingRules.candidacy.DegreeCandidacyForGraduatedPersonPR" WHERE DOMAIN_CLASS_INFO.DOMAIN_CLASS_NAME = "net.sourceforge.fenixedu.domain.accounting.postingRules.DegreeCandidacyForGraduatedPersonPR";
