Title: Javatype for int []

Hello,

 

Try the following (in a stand-alone program):

 

System.out.println(“int[] type = “ + int[].class.getName());

 

It should give you the type to use for javaType I believe (something like “[I“).

 

Cheers

 

            Jean-Francois

 


From: Rao, Satish [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 13, 2005 3:22 AM
To: user-java@ibatis.apache.org
Subject: Javatype for int []

 

 

In the <parameterMap> for a stored procedure, I want to pass in an int [].
I am planning to create a TypeHandler for the int [] and create a jdbcType ARRAY.

What should my javaType be?

Thanks

Reply via email to