How to close all connections in HSQLDB (also prevents a locking defect)

How to close all connections in HSQLDB (also prevents a locking defect)

Note: This article will be emailed to your friend.

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 [...]

Read the rest of this article (75 words)

Please fill in the following fields

* - Required

Your Name: *

Your E-Mail: *

Your Remarks:

Friend's Name: *

Friend's E-Mail: *

Protected by Comment Guard Pro