This content has been marked as final. Show 3 replies
here is the response i have posted in another forum
according to the JDBC spec, an entry in the array may have the following values:
1. If the value of an array entry is greater than or equal to zero, then the batch element was processed successfully and the value is an update count indicating the number of rows in the database that were effected by the elementÃ¢Â€Â™s execution.
2. A value of -2 indicates that a element was processed successfully, but that the number of effected rows is unknown.
because we can't natively get back, from the database, the number of rows updated per each array element, our implementation is compliant with #2.
We could have simulated this under the cover but at the cost of additional roundtrips.