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, and J. He. Web Intelligence and Intelligent Agent Technology (WI-IAT), 2012 IEEE/WIC/ACM International Conferences on, 1, page 274-281. (December 2012)
S. M.Gargari, and S. Oguducu. Proceedings of the 2012 International Conference on Advances in Social Networks Analysis and Mining (ASONAM 2012), page 827--834. Washington, DC, USA, IEEE Computer Society, (2012)
B. Navarro Bullock, H. Lerch, A. Roßnagel, A. Hotho, and G. Stumme. Proceedings of the 11th International Conference on Knowledge Management and Knowledge Technologies, page 15:1--15:8. New York, NY, USA, ACM, (2011)
G. Hua, M. Zhang, Y. Liu, S. Ma, and L. Ru. Proceedings of the 20th international conference companion on World wide web, page 59--60. New York, NY, USA, ACM, (2011)
U. Ozertem, R. Jones, and B. Dumoulin. Proceedings of the 20th international conference on World wide web, page 397--406. New York, NY, USA, ACM, (2011)