title: execute batch with oracle prepared statement
body: <p>I try to add batch prepared statement with following code:</p>
  
  <pre><code>Connection c = ...
  PreparedStatement ps = c.prepareStatement(query1);
  ps.setObject(....)
  ...
  ps.addBatch(query2); // SqlException : Unsupported feature
  </code></pre>
  
  <p>Does not oracle jdbc driver support batches, or I am doing something wrong?</p>
  
  <p>I am using oracle thin driver. Version from MANIFEST.MF <code>Implementation-Version: 11.2.0.1.0</code>.</p>
  
  <pre><code>java.sql.SQLException: Unsupported feature
          at oracle.jdbc.driver.OraclePreparedStatement.addBatch(OraclePreparedStatement.java:9803)
          at oracle.jdbc.driver.OracleStatementWrapper.addBatch(OracleStatementWrapper.java:285)
          at org.jboss.resource.adapter.jdbc.WrappedStatement.addBatch(WrappedStatement.java:731)
          at &lt;application classes&gt;
  </code></pre>