UPDATE PARTY SET OJB_CONCRETE_CLASS = 'net.sourceforge.fenixedu.domain.organizationalStructure.DepartmentUnit' WHERE ID_INTERNAL IN (SELECT KEY_DEPARTMENT_UNIT FROM DEPARTMENT); 
