
Originally Posted by
Marten Deinum
Check your connection pool settings and your transactional settings (also you might need to check/configure somethings in MySQL). If you have a connection pool size which is to small it might take sometime before a connection is available to actually get access to the database. Make sure that your MySQL connection settings are in sync with your datasource.
Also if you have a database with a lot of indexes the database might be a problem (indexes are updated on each commit).
So the fact that doCommit looks slow it might be that the problems lies elsewhere.