[Mono-bugs] [Bug 497715] New: SqlParameter not handling SqlDbType.Xml / DbType.Xml ("No mapping exists ...")

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 23 12:54:48 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=497715


           Summary: SqlParameter not handling SqlDbType.Xml / DbType.Xml
                    ("No mapping exists ...")
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: i386
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Data.SqlClient
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jonas.larsson at manodo.se
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.9)
Gecko/2009042113 Ubuntu/9.04 (jaunty) Firefox/3.0.9

When working with SqlParameter of type Xml, Exceptions are thrown.

Ex:
ArgumentOutOfRangeException
"No mapping exists from SqlDbType Xml to a known DbType."

Reproducible: Always

Steps to Reproduce:
1. Create a new SqlParameter
2. Set SqlParameter.SqlDbType = SqlDbType.Xml
3. Get exception
Actual Results:  
Exception

Expected Results:  
Correct internal handling (treat as strings perhaps)

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list