docs: public void delete(Object obj, boolean ignoreReferences) throws PersistenceBrokerException
      {
          if(isTxCheck() && !isInTransaction())
          {
              if(logger.isEnabledFor(Logger.ERROR))
              {
                  String msg = "No running PB-tx found. Please, only delete objects in context of a PB-transaction" +
                      " to avoid side-effects - e.g. when rollback of complex objects.";
                  try
                  {
                      throw new Exception("** Delete object without active PersistenceBroker transaction **");
                  }
                  catch(Exception e)
                  {
                      logger.error(msg, e);
                  }
              }
          }
          try
          {
              doDelete(obj, ignoreReferences);
          }
          finally
          {
              markedForDelete.clear();
          }
      }