code: @Override
    public Entity findOneById(Object id) {
      if (cacheable
          && !transactionInformation.isEntireRepositoryDirty(getEntityType())
          && !transactionInformation.isEntityDirty(EntityKey.create(getEntityType(), id))) {
        return l2Cache.get(delegate(), id);
      }
      return delegate().findOneById(id);
    }
docs: Retrieves a single entity by id.
  
  @param id the entity's ID value
  @return the retrieved Entity, or null if not present.