rformance can be better if changes to the database are batched: turn off autocommit; add multiple SQL statements using the Statement.addBatch() method; execute Statement.executeBatch().
H. Kuhn, und A. Tucker. Proceedings of the Second Berkeley Symposium on Mathematical Statistics and Probability, 1950, Seite 481--492. Berkeley and Los Angeles, University of California Press, (1951)