https://bugzilla.novell.com/show_bug.cgi?id=486705
Summary: After Used OracleDataReader's NextResult Method,
DataReader can't Read Rows Any More!
Classification: Mono
Product: Mono: Class Libraries
Version: 2.4.x
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.Data
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Found By: ---
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR
1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; IE7Pro)
I called Oracle StoredProcedure which will out two REF Cursor, When I use
DataReader to read all first cursor rows, then use DataReader.NextResult to
move to next cursor, I can't read any rows form next cursor(the next cursor has
rows,too).
Reproducible: Always
Steps to Reproduce:
...
using (OracleDataReader reader = cmd.ExecuteReader())
{
while(reader.Read())
{
//read all rows form first cursor
}
if (reader.NextResult())
{
while(reader.Read())
{
//reader.Read() return false always!!!
}
}
}
Actual Results:
Can't read any rows from second cursor
Expected Results:
Can read rows from second cursor
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs