{
case OptimisticPrepareCommand.METHOD_ID:
case PrepareCommand.METHOD_ID:
// Prepare method has a list of modifications. We will just take the first one and extract.
PrepareCommand pc = (PrepareCommand) cmd;
List<WriteCommand> modifications = pc.getModifications();
fqn = extractFqn(modifications.get(0));
// If this is two phase commit, map the FQN to the GTX so
// we can find it when the commit/rollback comes through
if (!pc.isOnePhaseCommit()) transactions.put(pc.getGlobalTransaction(), fqn);
break;
case RollbackCommand.METHOD_ID:
case CommitCommand.METHOD_ID: