class RepositoryVersionDAO extends CrudDAO<RepositoryVersionEntity, Long> {

  @RequiresSession
  public RepositoryVersionEntity findByStackAndVersion(StackId stackId,
      String version) {
    return findByStackNameAndVersion(stackId.getStackName(), version);
  }

  public  RepositoryVersionDAO();

}