Question: how to use hsqldb in java?
Answer: getConnection(“jdbc:hsqldb:file:/temp/db/sampledb”, “SA”, “”) – In this example, we are connecting to a file type database with files names sampledb. * reside in the folder temp/db. Do note that the relative path is relative to the directory from which the command to start JVM is executed. DriverManager.