ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Francois Poilpret" <jfpoilp...@hcm.vnn.vn>
Subject RE: Javatype for int []
Date Sat, 13 Aug 2005 00:47:25 GMT
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:satish.rao@fmr.com] 
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 


Mime
View raw message