System.out.println("About to complete the transaction ");
// Try to complete the transaction as requested by the user
if (commit)
actionStatus = tx.commit(); // Top level commit
else
actionStatus = tx.abort(); // Top level rollback
System.out.println("The status of the transaction is " + ActionStatus.stringForm(actionStatus));
}
else
{