ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Punzalan <jasonpunza...@gmail.com>
Subject select with iterate
Date Sat, 23 Apr 2005 23:18:05 GMT
Can someone show me an example of doing a select with iterate? Is it 
possible to do the following....

<statement id="getAllByList" resultClass="Content" parameterClass="Content" 
resultMap="content-result" >
<iterate property="idList">
select * from content where
id = #idList[]#

I'm currently getting an java.sql.SQLException...running mysql.


View raw message