Andres,

I guess I am confused as to what you are trying to do.  Can you give an example of the data?

Nathan


On Jan 6, 2006, at 7:22 PM, March, Andres wrote:

I’m trying to write the bytes to a numeric column not a binary one.  The default one uses setBytes().  I need to do setBigDecimal().

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 06, 2006 6:19 PM
To: [email protected]
Subject: Re: specify typehandler for byte[]

 

why is the default not good enough for you?

 

On Jan 6, 2006, at 6:51 PM, March, Andres wrote:



Well, I learned something new today – the internal representation of class names.  This mapping does not fail like before:

 

typeHandler =jdbcType"NUMERIC" =/>     <javaType"byte[]" =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?

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

Platform - Apps Engineering

desk: 858.577.3373



Reply via email to