sStatement.execute("SET SCRIPTFORMAT " + logType);
sStatement.execute("SET LOGSIZE " + 400);
sStatement.execute("SET WRITE_DELAY " + writeDelay);
sStatement.execute("SHUTDOWN");
cConnection.close();
props.load();
props.setProperty("hsqldb.cache_scale", "" + cacheScale);
props.save();
cConnection = dataSource.getConnection(user, password);
sStatement = cConnection.createStatement();