[Mono-bugs] [Bug 500987] SqlCommand with DateTime parameter throws exception "Error converting data type varchar to datetime" (impacts NHibernate and Castle ActiveRecord)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed May 6 06:18:20 EDT 2009


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

User loic.nageleisen at gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=500987#c2





--- Comment #2 from Loic Nageleisen <loic.nageleisen at gmail.com>  2009-05-06 04:18:20 MDT ---
The above test case (includes dependencies) provides a means to test against
pure string, parametrized command, NH and AR INSERTs into the database. It runs
successfully under .Net, and fails as per the bug under Mono 2.4.

As convenience, it uses AR to create the database schema. One should adapt
various MSSQL database settings according to one's setup.

Upon successful execution, correctness should then be checked manually in the
database:
- the pure string ADO should yield a result dependent of the database locale.
- the others should yield a result dependent of the program locale.
But all insertions should succeed.

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


More information about the mono-bugs mailing list