OracleDataReader.Read returns a System.NullReferenceException

OracleDataReader.Read returns a System.NullReferenceException

Postby Brutus » Wed 14 Feb 2007 13:51

Call the method 'ExecuteReader()' on a command that calls a stored procedure which does not return a recordset(cursor).
The result is an OracleDataReader.
A call of the method 'Read()' on the datareader results in the NullReferenceException.

The property HasRows returns this exception too.

(Version 2.50 didn't throw an exception but returned '0' for 'HasRows' and 'false' for 'Read()')

Is this a bug?
Brutus
 
Posts: 3
Joined: Mon 12 Feb 2007 11:15
Location: Almere, The Netherlands

Postby Alexey » Thu 15 Feb 2007 08:33

We will fix this in OraDirect .NET 3.55.20.
Look forward to the build.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for Oracle