Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> ODP.NET, stored procedures and database links

ODP.NET, stored procedures and database links

From: Matthew Houseman <mhousema_at_ix.netcom.com>
Date: 26 Sep 2003 13:37:23 -0700
Message-ID: <73986c9d.0309261237.b9dc2e5@posting.google.com>

All,

I've created a synonym that points to a package over a database link like so:
CREATE SYNONYM API_MYLINK FOR USER.CSAPI_V2_at_INSTANCE.DOMAIN.COM I've granted execute like so:
grant execute on csapi_v2 to scott;

When I attach to the database in C# and attempt to dispatch a stored procedure using the synonym like so: API_MYLINK.Create_Invoice

I get the following exception raised:
Oracle.DataAccess.Client.OracleException ORA-00604: error occurred at recursive SQL level 1

Is what I'm trying to do even possible and if so, can someone provide a code snippet demonstrating the dispatch of a stored procedure over a database link.

Thanks,
Matt Houseman Received on Fri Sep 26 2003 - 15:37:23 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US