I had the same problem with MSAccess, that was a bug in jdbc driver.Maybe restricting synchronized execution of queries may help, you can use proper locks in your code to allow one query at a time.