Class.forName("org.hsqldb.jdbc.JDBCDriver");
Connection connection =
DriverManager.getConnection(
"jdbc:hsqldb:hsql://localhost/<DBエリアス名>"
+ ";shutdown=true",//アクセス後にDBを閉じる
<username>,
<password>);