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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…