title: in Oracle JDBC is it possible to batch stored procedure calls and retrieve OUT parameters?
body: <p>I have a stored procedure in an Oracle 11g database like f(a IN, b IN, c OUT).
  I want to call it from JDBC in batch mode and then read all the OUT variables.<br>
  Is this possible? 
  I have this so far</p>
  
  <pre><code>  CallableStatement statement = connection.prepareCall("f(?, ?, ?)");
    for(Item i : items) {
       int i = 0;
       statement.setString(++i, item.getA());
       statement.setString(++i, item.getB());
       statement.registerOutParameter(++i, Types.NUMERIC);
       statement.addBatch();
    }
    statement.executeBatch();
    int[] answers =  ?
  </code></pre>
  
  <p>Thanks</p>