OracleException.Errors collection is not serialized

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
kiki
Posts: 7
Joined: Wed 23 Mar 2011 21:05

OracleException.Errors collection is not serialized

Post by kiki » Fri 28 Oct 2016 21:06

Hello,

We use DevArt Oracle ExecuteArray function to insert a collection of data, when there are more than 1 error occurrs during insertion ( e.g. PK violation), an OracleException will be thrown with an Error collection contains all error details. However, since we are using a bridge to pass the OracleException object, we found the Errors collection is not serialized and deserialized correctly, the Error collection only contains 1 error rows and all error details are lost.
Could you please look into the issue? We use version 8.5.464.0.

Thanks!

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: OracleException.Errors collection is not serialized

Post by Pinturiccio » Tue 01 Nov 2016 12:13

We have reproduced the issue. We will investigate it and post here about the results as soon as possible.

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: OracleException.Errors collection is not serialized

Post by Pinturiccio » Mon 12 Dec 2016 10:17

We have fixed the bug with losing Errors of an OracleException object when performing binary serialization.

New version of dotConnect for Oracle 9.2 is released.
It can be downloaded from http://www.devart.com/dotconnect/oracle/download.html (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to viewtopic.php?t=34692

Post Reply