List Info

Thread: .Net 1.1 Null Dates Issue




.Net 1.1 Null Dates Issue
user name
2006-04-12 14:03:48
This solution worked great.  Thanks for the pointer.

Thx
Justin 

-----Original Message-----
From: Ron Grabowski [mailto:rongrabowskiyahoo.com] 
Sent: Tuesday, April 11, 2006 4:49 PM
To: user-csibatis.apache.org
Subject: Re: .Net 1.1 Null Dates Issue

Try using this custom type handler that maps NULL columns to
DateTime.MinValue and vice-versa:

 http://www.mail-a
rchive.com/user-csibatis.apache.org/msg00636.html

--- "James, Justin" <justin.jamesintel.com> wrote:

> This is my first experience with ibatis and I am stuck
on a problem 
> with null dates coming from an Oracle database and
binding them result

> set to a Ilist. If I bind a single record, I do not
have any problems 
> but when I bind to the Ilist collection it gives a
specified cast 
> error.  Any pointers on how to get around this issue
would be greatly 
> appreciated.
> 
> Thx
> Justin
> 
> 
> 
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )