score:0

hsqldb has a way to automatically shutdown the database when the last connection is closed. you need to add shutdown=true as a url property:

url = "jdbc:hsqldb:mem:inmemory;shutdown=true"

see more details in the docs:

http://hsqldb.org/doc/2.0/guide/dbproperties-chapt.html#n15641


Related Query

More Query from same tag