ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dzizes <dzizes...@gmail.com>
Subject queryForList with multiple parametrs
Date Fri, 28 Mar 2008 15:17:45 GMT

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-tp16351019p16351019.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


Mime
View raw message