mail-archives/mono-bugs/2009-February/086579.html

103 строки
4.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 480377] New: System.Data.OracleClient : DataReader does not support System.TimeSpan
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20480377%5D%20New%3A%20System.Data.OracleClient%20%3A%20DataReader%0A%20does%20not%20support%20System.TimeSpan&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="086577.html">
<LINK REL="Next" HREF="086580.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 480377] New: System.Data.OracleClient : DataReader does not support System.TimeSpan</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20480377%5D%20New%3A%20System.Data.OracleClient%20%3A%20DataReader%0A%20does%20not%20support%20System.TimeSpan&In-Reply-To="
TITLE="[Mono-bugs] [Bug 480377] New: System.Data.OracleClient : DataReader does not support System.TimeSpan">bugzilla_noreply at novell.com
</A><BR>
<I>Fri Feb 27 09:45:16 EST 2009</I>
<P><UL>
<LI>Previous message: <A HREF="086577.html">[Mono-bugs] [Bug 430213] Remote methods and events in C#
</A></li>
<LI>Next message: <A HREF="086580.html">[Mono-bugs] [Bug 480377] System.Data.OracleClient : DataReader does not support System.TimeSpan
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#86579">[ date ]</a>
<a href="thread.html#86579">[ thread ]</a>
<a href="subject.html#86579">[ subject ]</a>
<a href="author.html#86579">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=480377">https://bugzilla.novell.com/show_bug.cgi?id=480377</A>
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: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">bnc-blr-team-mono at forge.provo.novell.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">webservices at landmarkdigital.com</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
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: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="086577.html">[Mono-bugs] [Bug 430213] Remote methods and events in C#
</A></li>
<LI>Next message: <A HREF="086580.html">[Mono-bugs] [Bug 480377] System.Data.OracleClient : DataReader does not support System.TimeSpan
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#86579">[ date ]</a>
<a href="thread.html#86579">[ thread ]</a>
<a href="subject.html#86579">[ subject ]</a>
<a href="author.html#86579">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>