In the documentation of the HSQLDB is a command line statement to start a HSQLDB server (HSQLDB Doc). But there is this “file:mydb” property, so I assume its not in memory-only mode.
How do I run a memory-only HSQLDB server?
I ran the following but get no clue.
java -cp ../lib/hsqldb.jar org.hsqldb.Server -?
use
java -cp .\hsqldb-1.8.0.10.jar org.hsqldb.Server -database.0 mem:anameIn memory mode is specified by the connection url – so if you want, you can just have a server.properties file in the same directory, and set the connection url to use the
memprotocol – or if you are using hsqldb in another application that allows you to specify the connection url such as jdbc, specifyjdbc:hsqldb:mem:aname.