[Mono-bugs] [Bug 480377] New: System.Data.OracleClient : DataReader does not support System.TimeSpan

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Feb 27 09:45:16 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=480377


           Summary: System.Data.OracleClient : DataReader does not support
                    System.TimeSpan
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.2.x
          Platform: 64bit
        OS/Version: openSUSE 11.0
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: Sys.Data
        AssignedTo: bnc-blr-team-mono at forge.provo.novell.com
        ReportedBy: webservices at landmarkdigital.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development


It looks like the Oracle type that results from two dates being subracted is
the 'INTERVAL DAY TO SECOND', but apparently mono doesn't have a mapping from
that type.

In a stored procedure. I am subtracting two Oracle TIMESTAMP types, which
ostensibly results in the INTERVAL type.  Trying to read the procedure's output
cursor results in a System.NotImplementedException
  System.NotImplementedException: The requested feature is not implemented.
    at
System.Data.OracleClient.Oci.OciParameterDescriptor.OciDataTypeToOracleType
(OciDataType ociType) [0x00000]

Example Oracle procedure:

  PROCEDURE

-- 
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