ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Vissers <Jan.Viss...@cumquat.nl>
Subject Re: Real difference between TypeHandler and TypeHandlerCallback
Date Mon, 28 Aug 2006 20:44:09 GMT
Well okay then...
So I take it basically they can do the same for me?

Clinton Begin wrote:
> TypeHandlerCallback is more abstract and simpler/safer to implement.
>
> TypeHandler is a bit trickier to implement and is a bit closer to the
> metal.
>
> You can use either one to implement a custom type handler. My 
> recommendation
> is to use TypeHandlerCallback , and then only use TypeHandler only when
> necessary.
>
> Cheers,
> Clinton
>
> On 8/28/06, Jan Vissers <Jan.Vissers@cumquat.nl> wrote:
>>
>> Apart from the fact that the former is engine and latter is client -
>> what are the real differences?
>> Reason I'm asking, is didn't have any issues specifying a (custom)
>> TypeHandler class in my mapping instead of a TypeHandlerCallBack.
>> (O yeah, I couldn't only specify the TypeHandler, but also use it)
>>
>> Are these two interchangeable?
>>
>>
>

-- 
Cumquat Information Technology
De Dreef 19
3706 BR Zeist
T +31 (0)30 - 6940490
F +31 (0)30 - 6940499
http://www.cumquat.nl

Jan.Vissers@cumquat.nl
M +31 6 51 169 556



Mime
View raw message