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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to