[Mono-bugs] [Bug 72076][Nor] New - SqliteClient doesn't handle IDbParameters

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 1 Feb 2005 16:10:46 -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 jeroen@xs4all.nl.

http://bugzilla.ximian.com/show_bug.cgi?id=72076

--- shadow/72076	2005-02-01 16:10:46.000000000 -0500
+++ shadow/72076.tmp.20064	2005-02-01 16:10:46.000000000 -0500
@@ -0,0 +1,25 @@
+Bug#: 72076
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: Jeroen@xs4all.nl               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: SqliteClient doesn't handle IDbParameters
+
+The attached patch does a basic String.Replace to replace the parameter
+names with the actual values in the SQL string. Unknown if the if statement
+covers all "special" types (String is put in quotes, DBNull is converted to
+"?", the rest just does param.Value.ToString()).
+
+This patch is required to use SqliteClient in combination with NHibernate
+(NHibernate uses nothing else but IDbParameters).