I only have the worst nightmare to service: a silent mistake.
I called the procedure using Odp.Net inside the custom package, and the procedure call was interrupted without any exceptions (without checking) (both step-by-step debugging and the catch all clause are checked). After a long search, I noticed that the package was invalid (some failures on the server), after recompiling the package everything returned to normal (the call code was correct and unmodified).
Since it is really very simple to invalidate a package by accident in Oracle, I need to catch such an error, at least to register them for debugging.
With MS System.Data.OracleClient, an OracleException was thrown in this case, is there a way to get similar behavior with Oracle Oracle.DataAccess? Some kind of sqlnet.ora parameter? I did not find a similar problem anywhere on the net.
using the Oracle11R2 server, the last Oracle Win32..Net3.5 client.
source
share