D
David F.
Hi,
I'm using ODP.NET for connecting to Oracle 8i 8.1.7.4 from C# Data
Access Object.
I'm experiencing a problem with ExecuteNonQuery() from OracleCommand
object.
When I execute a Stored Procedure command that produces an INSERT,
UPDATE or DELETE, the returning value is always -1 instead correct
affected rows count.
If I try to execute the same SQL Command directly (I mean, with no
packages or stored procedures), the ExecteNonQuery method returns the
right value (number of affected rows).
The same problem occurs with ArrayBinding support and Packages (or
Stored Procedures).
This behaviour appeared when I changed (or upgraded) ODP.NET Version
from 9.2.0.401 to 9.2.0.406 (and newer versions too).
I tried with Oracle 10g client and ODP.NET 10.1.0.2 and the returning
value remians without changes. In earlier versions (9.2.0.2102 and
9.2.0.401) it worked fine.
Please, anybody can provide me some help?
Thanks a lot!
David
I'm using ODP.NET for connecting to Oracle 8i 8.1.7.4 from C# Data
Access Object.
I'm experiencing a problem with ExecuteNonQuery() from OracleCommand
object.
When I execute a Stored Procedure command that produces an INSERT,
UPDATE or DELETE, the returning value is always -1 instead correct
affected rows count.
If I try to execute the same SQL Command directly (I mean, with no
packages or stored procedures), the ExecteNonQuery method returns the
right value (number of affected rows).
The same problem occurs with ArrayBinding support and Packages (or
Stored Procedures).
This behaviour appeared when I changed (or upgraded) ODP.NET Version
from 9.2.0.401 to 9.2.0.406 (and newer versions too).
I tried with Oracle 10g client and ODP.NET 10.1.0.2 and the returning
value remians without changes. In earlier versions (9.2.0.2102 and
9.2.0.401) it worked fine.
Please, anybody can provide me some help?
Thanks a lot!
David