How to fix the Oracle error ORA-25035: cannot perform DML on remote object from a crossedition trigger?
In this post, you’ll learn more about the Oracle ErrorORA-25035: cannot perform DML on remote object from a crossedition trigger with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
ORA-25035: cannot perform DML on remote object from a crossedition trigger
Reason for the Error ORA-25035: cannot perform DML on remote object from a crossedition trigger
An attempt was made to do DML from a crossedition trigger that would modify data in a remote database. DML from a crossedition trigger has special rules applied regarding what triggers will fire as part of that DML; these special rules cannot be applied across database links and therefore the DML cannot be allowed.
How to fix the Error ORA-25035: cannot perform DML on remote object from a crossedition trigger ?
You can fix this error in Oracle by following the below steps
Perform the DML in a helper function separate from the crossedition trigger itself; the special rules are not applied when the DML is not issued from within the crossedition trigger itself.
Leave Your Comment