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 "March, Andres" <am...@soe.sony.com> on 2006/01/07 02:37:24 UTC
specify typehandler for byte[]
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