* Executes a single TPCC transaction of type transactionType.
*/
@Override
protected TransactionStatus executeWork(TransactionType nextTransaction) throws UserAbortException, SQLException {
if (nextTransaction.getProcedureClass().equals(NewOrder.class)) {
NewOrder proc = (NewOrder) this.getProcedure(NewOrder.class);
proc.run(conn, gen, terminalWarehouseID, numWarehouses,
terminalDistrictLowerID, terminalDistrictUpperID, this);
} else if (nextTransaction.getProcedureClass().equals(Payment.class)) {
Payment proc2 = (Payment) this.getProcedure(Payment.class);
proc2.run(conn, gen, terminalWarehouseID, numWarehouses,
terminalDistrictLowerID, terminalDistrictUpperID, this);