RE: queryForList with multiple parametrs

2008-03-28 Thread Jason Kratz
You either have to pass in a parameter map or a class. This is well documented in the user guide. -Original Message- From: dzizes [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2008 10:18 AM To: user-java@ibatis.apache.org Subject: queryForList with multiple parametrs Hi, I was wand

queryForList with multiple parametrs

2008-03-28 Thread dzizes
Hi, I was wandering how queryForList with 2 (or more) parameters. Below my select in sqlmap.xml SELECT A, B FROM tableAB WHERE A = '14' AND B = '01' List responseList = sqlMap.queryForList("getAB", "?", "?"); Please help me with replacing 14/01 and ?? with proper

Re: How to insert byte[] using iBatis into DB

2008-03-28 Thread Tony Lenzi
java.lang.Byte On Fri, Mar 28, 2008 at 8:03 AM, Elangovan, Kumaravel <[EMAIL PROTECTED]> wrote: > > > > Hi Andrey, > > Thanks for the eg code. I am still not clear about the javaType for the > byte[]. Since all parameters and results must be an Object at their highest > level in iBatis, what would

RE: How to insert byte[] using iBatis into DB

2008-03-28 Thread Elangovan, Kumaravel
Hi Andrey, Thanks for the eg code. I am still not clear about the javaType for the byte[]. Since all parameters and results must be an Object at their highest level in iBatis, what would be the corresponding javaType for byte[]. We are using stored procedure to insert values into DB. As we dont

RE: How to insert byte[] using iBatis into DB

2008-03-28 Thread Elangovan, Kumaravel
Hi Andrey, Thanks for the eg code. I am still not clear about the javaType for the byte[]. Since all parameters and results must be an Object at their highest level in iBatis, what would be the corresponding javaType for byte[]. We are using stored procedure to insert values into DB. As we dont