ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Selke" <tse...@liquidhub.com>
Subject Nullable DateTime support?
Date Thu, 31 May 2007 16:06:17 GMT
I am getting the following error . . .


{"Could not load type from string value 'System.DateTime?'.":""}

at IBatisNet.Common.Utilities.TypesResolver.TypeResolver.ResolveType(String


. . . when trying to load a parameter like this . . .


<parameter property="BirthDate" column="BirthDate" dbType="datetime"
type="System.DateTime?" />



I found a note from Oct 2005 in the list archives that indicated the need
for a custom DateTimeTypeHandler to deal with nullable DateTimes, but I
suspect that this might have a better way to be addressed now.  All of the
other nullable, native types seem to work fine.  It's just the DateTime
structure that seems to be throwing an error.


Am I missing something?



View raw message