M
Martin Angers
Hi,
I am using MS VS.NET 1.1, with Microsoft's .NET Oracle client
targeting an Oracle 9i database.
I use the OracleDataAdapter to update a table through some stored
procedures (one for Insert, one for Update and one for Delete). All
commands are correctly set to the DataAdapter, along with SourceColumn
and SourceVersion. In fact, the Update works fine, except when it
updates nothing, it still returns 1 and doesn't raise the
DbConcurrencyException!
I tested by retrieving some records in a DataTable, then I deleted
these records from the DB, and after that I deleted them from the
DataTable and called DataAdapter.Update(). I expected the exception,
but instead got no error...
The Stored Procedures are in a Package, and are all Procedures (not
Functions). Am I missing something? As far as I recall, this worked
fine with Sql Server. Is it a limitation of the Oracle data provider?
Thanks,
Martin
I am using MS VS.NET 1.1, with Microsoft's .NET Oracle client
targeting an Oracle 9i database.
I use the OracleDataAdapter to update a table through some stored
procedures (one for Insert, one for Update and one for Delete). All
commands are correctly set to the DataAdapter, along with SourceColumn
and SourceVersion. In fact, the Update works fine, except when it
updates nothing, it still returns 1 and doesn't raise the
DbConcurrencyException!
I tested by retrieving some records in a DataTable, then I deleted
these records from the DB, and after that I deleted them from the
DataTable and called DataAdapter.Update(). I expected the exception,
but instead got no error...
The Stored Procedures are in a Package, and are all Procedures (not
Functions). Am I missing something? As far as I recall, this worked
fine with Sql Server. Is it a limitation of the Oracle data provider?
Thanks,
Martin