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
Note that since Oracle 12c this shouldn't be the case anymore:
For a prepared statement batch, the array contains the actual update counts indicating the number of rows affected by each operation.
See https://docs.oracle.com/database/121/JJDBC/oraperf.htm#JJDBC28773