Logo Search packages:      
Sourcecode: mysql-connector-java version File versions  Download package

synchronized void com::mysql::jdbc::ServerPreparedStatement::addBatch (  )  throws SQLException [inline]

JDBC 2.0 Add a set of parameters to the batch.

Exceptions:
SQLException if a database-access error occurs.
See also:
StatementImpl::addBatch

Reimplemented from com::mysql::jdbc::PreparedStatement.

Definition at line 408 of file ServerPreparedStatement.java.

References com::mysql::jdbc::StatementImpl::batchedArgs, checkClosed(), and parameterBindings.

                                                              {
            checkClosed();

            if (this.batchedArgs == null) {
                  this.batchedArgs = new ArrayList();
            }

            this.batchedArgs.add(new BatchedBindValues(this.parameterBindings));
      }


Generated by  Doxygen 1.6.0   Back to index