[Mono-bugs] [Bug 53391][Wis] New - OracleDataReader fails with large number fields
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 27 Jan 2004 05:44:07 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by david.smith@omnieng.co.uk.
http://bugzilla.ximian.com/show_bug.cgi?id=53391
--- shadow/53391 2004-01-27 05:44:07.000000000 -0500
+++ shadow/53391.tmp.21689 2004-01-27 05:44:07.000000000 -0500
@@ -0,0 +1,47 @@
+Bug#: 53391
+Product: Mono/Class Libraries
+Version: unspecified
+OS:
+OS Details: Slackware 9.1
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Sys.Data
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: david.smith@omnieng.co.uk
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: OracleDataReader fails with large number fields
+
+Please fill in this template when reporting a bug, unless you know what you are doing.
+Description of Problem:
+System.Data.OracleClient is unable to retieve large number fields (number(18))
+
+Steps to reproduce the problem:
+1. Create a table with a number(18) field
+2. Query the table and create an OracleDataReader
+3. Try to retieve the number field in any way (e.g. GetInt64)
+
+Actual Results:
+Unhandled Exception: System.OverflowException: Number overflow
+in <0x001b7> System.Int32:Parse (string)
+in <0x001e2> System.Data.OracleClient.Oci.OciDefineHandle:GetValue ()
+in <0x0008c> System.Data.OracleClient.OracleDataReader:GetValue (int)
+in <0x00054> (wrapper remoting-invoke-with-check)
+System.Data.OracleClient.OracleDataReader:GetValue (int)
+in <0x0001a> System.Data.OracleClient.OracleDataReader:GetInt64 (int)
+in <0x00065> (wrapper remoting-invoke-with-check)
+System.Data.OracleClient.OracleDataReader:GetInt64 (int)
+
+
+Expected Results:
+Able to retieve the data
+
+How often does this happen?
+All the time
+
+Additional Information:
+Oracle client version 9.2.0.3.0