title: How can I insert multiple values in a single query using MyBatis annotations?
body: <p>Are there any examples for inserting a collection into a Database (MySQL) using a single query using MyBatis annotations and not the XML?</p>
  
  <p>I have the following query in a MyBatis DAO.
  </p>
  
  <pre><code>  @Insert("insert into deleted_items(item_id) " + "values (#{itemID})")
   int put(String itemID);
  </code></pre>
  
  <p>I want to insert a <code>List&lt;String&gt;</code> using the same query as above, just allow for multiple values.</p>
  
  <p>How can I do that using only annotations?</p>