title: How to set list of parameters on prepared statement?
body: <p>i have a list of names e.g.:</p>
  
  <pre><code>List&lt;String&gt; names = ...
  names.add('charles');
  ...
  </code></pre>
  
  <p>and a statement:</p>
  
  <pre><code>PreparedStatement stmt = 
    conn.prepareStatement('select * from person where name in ( ? )');
  </code></pre>
  
  <p>how to do the following:</p>
  
  <pre><code>stmt.setParameterList(1,names);
  </code></pre>
  
  <p>Is there a workaround? can someone explain why this method is missing?</p>
  
  <p>using: java, postgresql, jdbc3</p>