ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "March, Andres" <ama...@soe.sony.com>
Subject specify typehandler for byte[]
Date Sat, 07 Jan 2006 01:37:24 GMT
I am trying to do something like below in my sqlmap-config.xml, in order
to avoid having to specify parameter maps for each of my beans. 

 

<typeHandler javaType="byte[]" jdbcType="NUMERIC"
callback="com.soe.freerealms.dao.ibatis.ByteArrayBigDecimalTypeHandler"/
>

      

But I get an error because iBatis is doing a class.forName() on the
javaType attribute.  Is there any way to do this mapping?

 

-----------------------------------------

Andres March

Platform - Apps Engineering

Sony Online Entertainment

desk: 858.577.3373

cell:   619.519.1519

 


Mime
View raw message