Oracle Error Message
ORA-12840: cannot access a remote table after parallel/insert direct load txn
Reason for the Error
Within a transaction, an attempt was made to perform distributed access after a PDML or insert direct statement had been issued.
Solution
Commit/rollback the PDML transaction first, and then perform the distributed access, or perform the distributed access before the first PDML statement in the transaction.