Oracle Error ORA-06595: REF CURSOR parameters are not supported in forwarded RPC calls

Oracle Error Message

ORA-06595: REF CURSOR parameters are not supported in forwarded RPC calls

Reason for the Error

An attempt was made to make a forwarded RPC call with a REF CURSOR parameter.

Solution

Either call the remote function directly (i.e., not by way of forwarding), or move the remote function to a database where it can be called directly.