//////////////////////
// LOAD HSQL
//////////////////////
log("creating HSQLInterface");
HSQLInterface hsql = HSQLInterface.loadHsqldb();
String hexDDL = db.getSchema();
String ddl = Encoder.hexDecodeToString(hexDDL);
String[] commands = ddl.split(";");
for (String command : commands) {
command = command.trim();
if (command.length() == 0)
continue;
try {
hsql.runDDLCommand(command);
} catch (HSQLParseException e) {
// need a good error message here
log("Error creating hsql: " + e.getMessage());
System.exit(82);
}