You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-cs@ibatis.apache.org by Bob Hanson <mn...@gmail.com> on 2005/04/26 18:05:41 UTC

exception being thrown from CharTypeHandler

line 51 of CharTypeHandler.cs
return dataReader.GetChar(index);
is throwing a "Specified method is not supported." exception.

I'm using the "sqlServer1.1" provider with datamapper v1.1.4322.

I tried both char(1) and varchar(1) as the sql server type with char
as the property type.

If I change the property type to string (thus not using
CharTypeHandler), my code runs fine.