// the VoltProcedure interface invokes HSQLDB directly through its
// hsql Backend member variable. The real volt backend is encapsulated
// by the ExecutionEngine class. This class has implementations for both
// JNI and IPC - and selects the desired implementation based on the
// value of this.eeBackend.
HsqlBackend hsqlTemp = null;
ExecutionEngine eeTemp = null;
SnapshotSiteProcessor snapshotter = null;
try {
if (trace.val) LOG.trace("Creating EE wrapper with target type '" + target + "'");
if (this.backend_target == BackendTarget.HSQLDB_BACKEND) {
hsqlTemp = new HsqlBackend(partitionId);
final String hexDDL = catalogContext.database.getSchema();
final String ddl = Encoder.hexDecodeToString(hexDDL);
final String[] commands = ddl.split(";");
for (String command : commands) {
if (command.length() == 0) {
continue;
}
hsqlTemp.runDDL(command);
}
eeTemp = new MockExecutionEngine();
}
else if (target == BackendTarget.NATIVE_EE_JNI) {