[Mono-bugs] [Bug 78509][Maj] Changed - OracleClient trims trailing spaces

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jul 4 06:54:31 EDT 2006

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 skolima at gmail.com.


--- shadow/78509	2006-05-26 07:03:39.000000000 -0400
+++ shadow/78509.tmp.21988	2006-07-04 06:54:31.000000000 -0400
@@ -2,13 +2,13 @@
 Product: Mono: Class Libraries
 Version: 1.1
 OS: other
 OS Details: Linux, Win32
 Status: NEW   
+Severity: Unknown
 Priority: Major
 Component: Sys.Data
 AssignedTo: tsenganal at novell.com                            
 ReportedBy: skolima at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -43,6 +43,18 @@
 Additional Information:
 ------- Additional Comments From skolima at gmail.com  2006-05-26 07:03 -------
 Created an attachment (id=17106)
 simple test application
+------- Additional Comments From skolima at gmail.com  2006-07-04 06:54 -------
+The problem lies in the use of OCI. There are simmilar problems
+reported with Oracle wrappers for Perl or PHP - OCI just trimms the
+trailing spaces from VARCHAR strings. It is, however, supposed to be
+fixable by changing the OCI binding type to STRING (and
+null-terminating the input variable, I pressume) or CHAR (CHAR does
+not seem work on mono - maybe you change the type again, internally?
+and STRING is not available).
+Microsoft .Net does not have this problem, because they do not use OCI
+(AFAIK), instead, they have their own way of communicating with Oracle DB.

More information about the mono-bugs mailing list