OracleException.Offset not serialized

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
kamen
Posts: 6
Joined: Wed 25 Nov 2015 12:27

OracleException.Offset not serialized

Post by kamen » Thu 08 Sep 2016 08:07

Hi.

We use cross-platform bridge in our application. It is employed:
- in 32-bit build to communicate to 64-bit Oracle clients,
- in 64-bit build to communicate to 32-bit Oracle clients.

We serialize/deserialize requests/responses from/to application/bridge. When error occurs (OracleException) in bridge we also send (serialize/deserialize) it to application.

Unfortunately Offset field is not serialized/deserialized. E.g. for "select * from non_existent_table" original exception has Offset=14 (on bridge side), transferred exception has Offset=0 (on application side).

Can anybody help?

We use dotConnect for Oracle Pro version 8.5.464.0.

Regards,
Petr.

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

Re: OracleException.Offset not serialized

Post by Pinturiccio » Fri 09 Sep 2016 13:24

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.Offset not serialized

Post by Pinturiccio » Wed 21 Sep 2016 10:58

We have fixed the bug with losing Offset of an OracleException object when performing binary deserialization. We will post here when the corresponding build of dotConnect for Oracle is available for download.

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

Re: OracleException.Offset not serialized

Post by Pinturiccio » Thu 22 Sep 2016 14:23

New build of dotConnect for Oracle 9.1.111 is available for download!
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=34319

kamen
Posts: 6
Joined: Wed 25 Nov 2015 12:27

Re: OracleException.Offset not serialized

Post by kamen » Tue 27 Sep 2016 06:40

Thanks! We will test ASAP.

kamen
Posts: 6
Joined: Wed 25 Nov 2015 12:27

Re: OracleException.Offset not serialized

Post by kamen » Fri 07 Oct 2016 10:41

Tested with 9.1.121 - works.

Thanks a lot!

Petr.

Post Reply