When I am executing executeBatch method in java, its returning an int array that's fine but the value is -2 of all array elements,
it should be 0 or +ve number that shows number of rows affected, but its returning -2,
when I checked it in database all updates done successful. please explain what is the meaning of this -2 and how I find number of rows affected.
Thank, Deepesh Uniyal
See Question&Answers more detail:os