title: Error with ibatis sql iterate
body: <p>I'm using ibatis + DWR , but when i pass a map to ibatis i will get an error as below:</p>
  
  <blockquote>
    <p>Cause: com.ibatis.sqlmap.client.SqlMapException: ParameterObject or
    property was not a Collection, Array or Iterator.</p>
  </blockquote>
  
  <p>here is my sql:</p>
  
  <pre><code>&lt;update id="updateDarenFlagByUserTagIDs" parameterClass="java.util.Map"&gt;
      update system_usertag 
      set isdaren = 1
      where uid = #uid# 
      &lt;isNotEmpty prepend=" AND " property="utidlist"&gt;
          and utid in
          &lt;iterate open="(" close=")" conjunction="," property="utidlist"&gt;
            #utidlist[]#
          &lt;/iterate&gt;
      &lt;/isNotEmpty&gt;
  &lt;/update&gt;
  </code></pre>
  
  <p>and here in the DWR part, i passed a map as below:</p>
  
  <pre><code>{'uid':uid, 'utidlist':utidlist}
  </code></pre>
  
  <p>Any ideas on this error?</p>