public Collection<Release> allProductReleases(TenantId aTenantId, ProductId aProductId) {
List<Release> releases = new ArrayList<Release>();
LevelDBKey productReleases = new LevelDBKey(PRODUCT_RELEASES, aTenantId.id(), aProductId.id());
LevelDBUnitOfWork uow = LevelDBUnitOfWork.readOnly(this.database());
List<Object> keys = uow.readKeys(productReleases);
for (Object releaseId : keys) {
Release release = uow.readObject(releaseId.toString().getBytes(), Release.class);
if (release != null) {
releases.add(release);
}
}