959: -- Always perform locking for set-up data parent
960: -- tables, unless this is a Data Pump session AND
961: -- the 'PUMP_DT_ENFORCE_FOREIGN_LOCKS' switch
962: -- has been set to no.
963: if hr_pump_utils.current_session_running then
964: l_enforce_foreign_locking := hr_pump_utils.dt_enforce_foreign_locks;
965: else
966: l_enforce_foreign_locking := true;
967: end if;
960: -- tables, unless this is a Data Pump session AND
961: -- the 'PUMP_DT_ENFORCE_FOREIGN_LOCKS' switch
962: -- has been set to no.
963: if hr_pump_utils.current_session_running then
964: l_enforce_foreign_locking := hr_pump_utils.dt_enforce_foreign_locks;
965: else
966: l_enforce_foreign_locking := true;
967: end if;
968: