What I don't understand is that you set the autocommit to false and then never commit your batch?
I think there should be a con.commit() somewhere or did I miss something?
JDBC batch insert
JDBC: Batch Insert Example
JDBC batch insert using Java bean class
JDBC Batch Example With SQL Insert Statement
JDBC Batch Update Example
batch in jdbc
JDBC Batch Processing Example
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.