摘要: 经过折腾,发现iBatis.NET在使用smalldatetime和timestamp的时候都会引起错误。输出的错误信息如下:System.InvalidCastException:指定的转换无效。在System.Data.SqlClient.SqlBuffer.get_DateTime()在System.Data.SqlClient.SqlDataReader.GetDateTime(Int32i)在IBatisNet.DataMapper.Commands.DataReaderDecorator.System.Data.IDataRecord.GetDateTime(Int32i)在IBa 阅读全文
posted @ 2011-07-28 12:10 努力偷懒 阅读(1279) 评论(0) 推荐(0) 编辑