I am using ibatis and C#. i get a result from a select query that has CreatedDate as one of the field. The Datatype of CreatedDate in Mysql is Date. I assign the result set
One thing who works too is changing your reader action. I was having this problem when I wrote
string myvar = reader.GetString(0);
Then I used to write this
object myvar = reader.GetValue(0);
And no more error.