[Mono-bugs] [Bug 486705] New: After Used OracleDataReader's NextResult Method, DataReader can't Read Rows Any More!

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Mar 19 02:36:26 EDT 2009


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: bnc-blr-team-mono at forge.provo.novell.com
        ReportedBy: shaojiaxing at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          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.


More information about the mono-bugs mailing list