[Mono-bugs] [Bug 573188] OracleDataAdapter fills only the first table of the resulting dataSet when invoking a stored procedure with more than one cursor ref out parameters.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 24 14:15:57 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=573188

http://bugzilla.novell.com/show_bug.cgi?id=573188#c2


--- Comment #2 from Jeffrey Alvarez <kuritsu at gmail.com> 2010-02-24 19:15:56 UTC ---
Created an attachment (id=344568)
 --> (http://bugzilla.novell.com/attachment.cgi?id=344568)
This is the patch to solve the bug (and other bugs!).

This patch solves this problem. The real thing was the OracleDataReader, which
was not updating some variables when the result (table) changed. There are two
bugs more corrected in this patch:
1. OracleDataAdapter has issues with polymorphism. Properties like
SelectCommand, InsertCommand, UpdateCommand and DeleteCommand used by the bae
class, DbDataAdapter, are hidden by the Oracle adapter and null reference
exceptions occur.

2. OracleParameter sets the VARCHAR OracleType when the value of the property
is null. So, if there's a null BLOB parameter, any command sent to the Oracle
server provokes an Invalid parameter name or number exception.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list