HsqlProperties props = new HsqlProperties(); props.setProperty("server.database.0", "mem:test"); props.setProperty("server.dbname.0", "memtest"); props.setProperty("server.trace", "false"); props.setProperty("server.silent", "true"); props.setProperty("server.no_system_exit", "true"); props.setProperty("server.port", 27862); props.setProperty("server.address", ipAddressOrHostName);
if (hsql) { HsqlProperties props = new HsqlProperties(); props.setProperty("server.database.0", "mem:test"); props.setProperty("server.dbname.0", "memtest"); props.setProperty("server.trace", "false"); props.setProperty("server.silent", "true"); props.setProperty("server.no_system_exit", "true"); props.setProperty("server.port", 27862); props.setProperty("server.address", ipAddressOrHostName);  hsqldbServer = new Server(); hsqldbServer.setLogWriter(null); hsqldbServer.setProperties(props); hsqldbServer.start();   log.debug("started the database"); }
   private void startInVMDatabase() throws Exception   {      HsqlProperties props = new HsqlProperties();      props.setProperty("server.database.0", "mem:test");      props.setProperty("server.dbname.0", "memtest");      props.setProperty("server.trace", "false");      props.setProperty("server.silent", "true");      props.setProperty("server.no_system_exit", "true");      props.setProperty("server.port", 27862);      props.setProperty("server.address", ipAddressOrHostName);      hsqldbServer = new Server();      hsqldbServer.setLogWriter(null);      hsqldbServer.setProperties(props);      hsqldbServer.start();      log.debug("started the database");   }