ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adnan Atic" <Adnan_A...@hilton.com>
Subject IN - representation in IBATIS
Date Thu, 11 Jan 2007 20:36:22 GMT
I am not sure how to represent this SQL construct in ibatis sql config
files :
 
SELECT A.* 
    FROM USER A 
 WHERE TYPE IN (?,?,...)
 
Is there something like:
<select id="getUsers" resultMap="userResultMap"
parameterClass="java.util.List">

SELECT A.* 
    FROM USER A 
 WHERE TYPE IN (#types#)

</select>

 

Thanks


Mime
View raw message