When you run HSQL in standalone mode its JDBC driver supports only single threaded mode. In case of your problem I guess that you have and application server pooling connections or it’s a AWT/Swing application which runs a separate thread for each of its visual component ‘events. Try to run HSQL in server mode if you need a real database. I hope it helps.