title: how to foreach array in MyBatis
body: <p>this is array:    </p>
  
  <pre><code>String[] user_login_array={user_email,user_password};
  </code></pre>
  
  <p>this is <code>mybatis.xml</code>:</p>
  
  <pre><code>&lt;select id="getUser" parameterType="String"resultType="post.User"&gt;
       select * from users where user_email=#{user_email} and user_password=#{user_password}
  &lt;/select&gt;
  </code></pre>
  
  <p>How to add array's parameters to this SQL?</p>