Hi,
This is a relatively common problem. I will add the following paragraph to the FAQ:
== H2 is Very Slow ==
By default, H2 closes the database when the last connection is closed. If your application closes the only connection after each operation, the database is opened and closed a lot, which is quite slow. There are multiple ways to solve this problem, see Database Performance Tuning (http://h2database.com/html/performance.html#database_performance_tuning)
Regards,
Thomas