October 16, 2010 at 4:04 PM
It returns the int array.The array contains the affected row count in the corresponding index of the SQL.
batch execution actually in JDBC Present a series of independent statements to be executed as a group. The entire group of statements is defined prior to being executed. The statements may not be a select statement and may only return an optional row count and error information.
The batch may be executed during autocommit or within a standard transaction.
Execution of the batch is not all or nothing.