title: How to use Annotations with iBatis (myBatis) for an IN query?
body: <p>We'd like to use only annotations with MyBatis; we're really trying to avoid xml. We're trying to use an "IN" clause: </p>
  
  <pre><code>@Select("SELECT * FROM blog WHERE id IN (#{ids})") 
  List&lt;Blog&gt; selectBlogs(int[] ids); 
  </code></pre>
  
  <p>MyBatis doesn't seem able to pick out the array of ints and put those into the resulting query. It seems to "fail softly" and we get no results back.</p>
  
  <p>It looks like we could accomplish this using XML mappings, but we'd really like to avoid that. Is there a correct annotation syntax for this?</p>