You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Nathan Maves <Na...@Sun.COM> on 2005/02/10 19:07:57 UTC

valueOf method in Custom Type Handler (CTH)

what is the method used for?

public Object valueOf(String s){
        ...code...
}


Re: valueOf method in Custom Type Handler (CTH)

Posted by Clinton Begin <cl...@gmail.com>.
Mostly for nullvalue translation.

More here:

http://www.ibatis.com/common/javadocs/com/ibatis/sqlmap/client/extensions/TypeHandlerCallback.html#valueOf(java.lang.String)

Cheers,
Clinton


On Thu, 10 Feb 2005 11:07:57 -0700, Nathan Maves <Na...@sun.com> wrote:
> what is the method used for?
> 
> public Object valueOf(String s){
>         ...code...
> }
> 
>