code: private void evictBiDiReferencedEntityTypes() {
      getEntityType().getMappedByAttributes().map(Attribute::getRefEntity).forEach(l1Cache::evictAll);
      getEntityType()
          .getInversedByAttributes()
          .map(Attribute::getRefEntity)
          .forEach(l1Cache::evictAll);
    }
docs: Evict all entries for entity types referred to by this entity type through a bidirectional
  relation.