posted 8 years ago
Hi All,
I am trying to run the below ibatis update query , but i am getting binding exception , please check and let me whether the below query is proper or not and also post some examples of update queries having foreach or iterate loop.
<update id=update" parameterType="com.ParamType">
UPDATE t_sample_data SET FLAG='Y'
WHERE ID in
<foreach item="Id" index="index" collection="Ids"
open="(" separator="," close=")">#{Id}
</foreach>
</update>
Thanks in Advance