Freigeben über


executeBatch Method (SQLServerPreparedStatement)

Submits a batch of commands to the database to be run. If all commands run successfully, returns an array of update counts.

public int[] executeBatch()

Rückgabewert

An array of ints that contains the update counts.

Ausnahmen

SQLServerException

java.sql.BatchUpdateException

Hinweise

This executeBatch method is specified by the executeBatch method in the java.sql.Statement interface.

This method overrides the executeBatch method that is found in the SQLServerStatement class.

Siehe auch

Verweis

SQLServerPreparedStatement Class

Konzepte

SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members