query.from(qArtifactVersion)
.where(qArtifactVersion.artifact.eq(artifact),
qArtifactVersion.version.eq(version));
return query.singleResult(qArtifactVersion);
}
@Override
public List<ArtifactVersion> listRecentReleases(int limit) {
JPAQuery query = new JPAQuery(getEntityManager());