I'm building a maintenance form in APEX that inserts/updates/deletes a table across a database link. My single-record edit form works fine but when I try to MERGE (after using the APEX Data Load feature to load data from a CSV file) I get the following error:
Error processing request.
ORA-02054: transaction 6.6.99765 in-doubt
ORA-02051: another session or branch in same transaction failed or finalized
ORA-02063: preceding line from EBS_AR_IFACE_LINK
ORA-20876: Stop APEX Engine
This error appears whether I use an actual MERGE statement, or if I use a loop with an update / insert.
Any ideas on what I should try?
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
Oracle Application Express 4.2.2.00.11