Wrong Exception Codes in OracleException Errors Collection

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Jan Zimmermann
Posts: 18
Joined: Mon 25 Mar 2013 10:29

Wrong Exception Codes in OracleException Errors Collection

Post by Jan Zimmermann » Thu 29 Jul 2021 10:02

Hi using last devart nuget package (9.14.1298) in direkt Mode on net core 3.1

When i execute an Sql with ExecuteArray and there are Errors (ORA-24381: error(s) in array DML) , the OracleErrors within the OracleException seems to have the wrong ErrorCode (Code Property). I would expect the ORA Number, but it seems to be some kind of Zero based index of the Error in the Collection.

By the Way: ExecuteArrayAsync is not avalible yet. (I mentioned this before..)


"Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production Version 19.9.0.0.0" multitenant

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Wrong Exception Codes in OracleException Errors Collection

Post by Shalex » Fri 30 Jul 2021 08:44

Please send us a small test project with the corresponding DDL/DML script so that we can reproduce the issue in our environment.

Post Reply