code: public void rollback(PersistenceDelegator delegator)
      {
          if (eventLogQueue != null)
          {
              onRollBack(delegator, eventLogQueue.getInsertEvents());
              onRollBack(delegator, eventLogQueue.getUpdateEvents());
              onRollBack(delegator, eventLogQueue.getDeleteEvents());
  
              rollbackJoinTableData(delegator);
          }
      }
docs: Rollback.
  
  @param delegator
  the delegator