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().
P. Li, J. Nie, B. Wang, и J. He. Web Intelligence and Intelligent Agent Technology (WI-IAT), 2012 IEEE/WIC/ACM International Conferences on, 1, стр. 274-281. (декабря 2012)
S. M.Gargari, и S. Oguducu. Proceedings of the 2012 International Conference on Advances in Social Networks Analysis and Mining (ASONAM 2012), стр. 827--834. Washington, DC, USA, IEEE Computer Society, (2012)