Hi:
I need to perform a commit after N records have been inserted. After each insert, I increase a counter, then call commit() if N records are inserted. Is this the most efficient way, or does
JDBC have an "internal" way of knowing that N records have been inserted, then "automatically" committing them?
Right now, I have this:
Is there a need for me to keep track of the number of inserts I have done, or can JDBC do that for me and perform the commit for me?
Thanks.
- Rolf.