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 wandering how queryForList with 2 (or more) parameters. Below my select in sqlmap.xml <select id="getAB" resultClass="com.ab.server.AB"> SELECT A, B FROM tableAB WHERE A = '14' AND B = '01' </select> List responseList = sqlMap.queryForList("getAB", "?", "?"); Please help me with replacing 14/01 and ?? with proper parameters. Greets, dzizes -- View this message in context: http://www.nabble.com/queryForList-with-multiple-parametrs-tp16351019p163510 19.html Sent from the iBATIS - User - Java mailing list archive at Nabble.com.