I've found this be a general error when something about the object/sql
mappings are not correct. It occured when I used is null, but didnt
cast the result to the type of the mapped object's property.
I'd say check over your object to make all the value align.
Brian
Mark Babcock wrote:
I have been working through the IBATIS Quick start. I am receiving
the following error:
ERROR: /Specified cast is not valid.**/
*/ /*
This is the line of code that is generating the error:
IList test = Mapper.Instance().QueryForList("SelectAllTest",null);