merge the fix of batch trigger
@@ -2655,9 +2655,14 @@ public class SQLServerPreparedStatement extends SQLServerStatement implements IS
// throw the initial batchException
if (null != batchCommand.batchException) {
+ if (numBatchesExecuted < numBatchesPrepared) {
+ continue;
+ }
+ else {
throw e;
}
}
+ }
// In batch execution, we have a special update count
// to indicate that no information was returned
