title: PreparedStatement set value on multiple indexes
body: <p>I have the problem with a prepared statement like this:</p>
  
  <pre><code>select ... from ... where xy = ? and foo = ? and bla = ?
  </code></pre>
  
  <p>can i set a string for every index? Otherwise i had to do</p>
  
  <pre><code>prep.setString(1, "bla");
  prep.setString(2, "bla");
  prep.setString(3, "bla");
  </code></pre>
  
  <p>or with for loop... but is there an elegant way? (beside adapt prepared statement or so?) may there is a method i dont know yet...</p>
  
  <p>otherwise i create my own PreparedStatement class and extend it with this function</p>