I am confused about when to use executeBatch()
and executeLargeBatch()
.
I went through the Java documents and the only difference I found is:
executeLargeBatch()
should be used when the returned row count may exceedInteger.MAX_VALUE
.
I replaced executeBatch()
with executeLargeBatch()
but haven't found any performance improvements.
Is handling Integer.MAX_VALUE
the only purpose? Is there any performance advantage in one over the other?