500: -- Always perform locking for set-up data parent
501: -- tables, unless this is a Data Pump session AND
502: -- the 'PUMP_DT_ENFORCE_FOREIGN_LOCKS' switch
503: -- has been set to no.
504: if hr_pump_utils.current_session_running then
505: l_enforce_foreign_locking := hr_pump_utils.dt_enforce_foreign_locks;
506: else
507: l_enforce_foreign_locking := true;
508: end if;
501: -- tables, unless this is a Data Pump session AND
502: -- the 'PUMP_DT_ENFORCE_FOREIGN_LOCKS' switch
503: -- has been set to no.
504: if hr_pump_utils.current_session_running then
505: l_enforce_foreign_locking := hr_pump_utils.dt_enforce_foreign_locks;
506: else
507: l_enforce_foreign_locking := true;
508: end if;
509: