I have noticed that despite closing all connections and exiting a standalone HSQLDB database, at least one connection still remains open.

The defect is manifested in HSQLDB 1.7.3 and HSQLDB 1.8.0 RC 8.

If you compile and run the sample code below, it will run fine for the first time. Second time (if it is run immediately after the first time say within 2-3 seconds after completion of first execution) it fails everytime citing a database locked exception!

Pages: 1 2 3