On 1/26/07, Michael Schall <[EMAIL PROTECTED]> wrote:
I could do it on a resultMap/parameterMap basis, but a legacy database I'm using stores empty string rather than null for all string. The typeHandler seems like an easier solution as I can put it in the config file once and forget about it... Is there anything wrong doing it this way?
No, that's will do the job. One remark, your typehandler can override iBatisNet's configuration for string type. Search a converstion named "NUMBER dbType - Double/Decimal .NET Type " in the "user-cs" list. I will try it returning Nothing/null.
Thanks for the response. Mike -- Cheers, Gilles <a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a>

