public BlobEntity getByHash(@NotNull String hash) {
        Preconditions.requireNonBlank(hash, "hash must be non-blank");
        return getActiveEntityManager()
             .createQuery("SELECT b "
                               + "FROM BlobEntity b "
                               + "WHERE b.hash = :hashCode", BlobEntity.class)
             .setParameter("hashCode", hash)
             .getSingleResult();
    }
Delete by provided ID (nb: not name, its ID set when stored).

<p>Does not truly delete the file if there are other (i.e. deduplicated) references to this blob. In this case
the reference counter is decremented.
manager/api/jpa/src/main/java/io/apiman/manager/api/jpa/blobstore/BlobStoreRepository.java