Merge is Failing with ORA-3137 
(Doc ID 2039740.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Enterprise Edition - Version 220.127.116.11 and later
Information in this document applies to any platform.
Merge statement fails with:
The merge statement as such uses many bind variables as shown by the current sql in the trace file:
MERGE INTO ORDER_ USING (SELECT :1 SystemOrderId FROM DUAL) I ON (ORDER_.SystemOrderId=I.SystemOrderId)
WHEN MATCHED THEN UPDATE SET SourceSystem=:2 ,AssetType=:3 ,OrderType=:4 , ...
WHEN NOT MATCHED THEN INSERT (SourceSystem, AssetType, OrderType, ...) VALUES (:49 ,:50 ,:51 , ...)
Note that the call stack of an ORA-3137  is rather generic and hardly useable to identify a specific issue.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!