Oracle Solution for Error ora-06595

Solution for Oracle Error ORA-06595

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

What triggered the Error:

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

What should we do to fix it:

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.