TransactionHandler handler = (TransactionHandler)
pr.getHandler(PacketType.START_TRANSACTION);
TransactionState ts = handler.getTransactionList().retrieveState(id);
handler.doPrepare(id, xaFlags, ts, PacketType.PREPARE_TRANSACTION);
}
/**
* Rollback a transaction