GetOracleObject() returns null

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
miwi
Posts: 17
Joined: Thu 27 Jul 2006 10:42

GetOracleObject() returns null

Post by miwi » Wed 18 Jan 2012 09:24

Hi there,

testing 6.60.283 we found a changed behavior compared to older versions.

OracleDataReader.GetOracleObject(int) returns null if the value of the object is null in the database. On older versions (we use 6.10.135 currently) it returned an OracleObject instance with the IsNull property set.

We can, of course, change the function usage on our side in the whole code. However, we would prefer if you could change back the API. Thanks.

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

Post by Pinturiccio » Wed 18 Jan 2012 14:23

We have reproduced the issue. We will investigate it and notify you as soon as possible.

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

Post by Pinturiccio » Tue 24 Jan 2012 08:38

We have fixed the bug with OracleDataReader returning null value for Object, Array, Table, Xml, AnyData columns instead of returning an empty value of the corresponding type. 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

Post by Pinturiccio » Fri 27 Jan 2012 14:06

The new build of dotConnect for Oracle 6.70.293 is available for download now!
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 http://www.devart.com/forums/viewtopic.php?t=23260

miwi
Posts: 17
Joined: Thu 27 Jul 2006 10:42

Post by miwi » Fri 03 Feb 2012 07:42

Thanks for the fix. We can confirm that the issue is solved.

Post Reply