Here you can find the source of getHSQLConnection()
private static Connection getHSQLConnection() throws Exception
//package com.java2s; import java.sql.Connection; import java.sql.DriverManager; public class Main { private static Connection getHSQLConnection() throws Exception { Class.forName("org.hsqldb.jdbcDriver"); System.out.println("Driver Loaded."); String url = "jdbc:hsqldb:data/tutorial"; return DriverManager.getConnection(url, "sa", ""); }/*from w w w .j av a 2 s. c om*/ }