/** @see bugeater.dao.ReleaseVersionDao#loadAll(bugeater.service.SortOrder) */
 @SuppressWarnings("unchecked")
 public List<ReleaseVersion> loadAll(SortOrder order) {
   return (List<ReleaseVersion>)
       getSession()
           .createQuery(
               "select rv "
                   + "from ReleaseVersion rv "
                   + "order by rv.project "
                   + order.getSqlToken()
                   + "         , rv.versionNumber "
                   + order.getSqlToken())
           .list();
 }
 /** @see bugeater.dao.ReleaseVersionDao#loadAll(java.lang.String, bugeater.service.SortOrder) */
 @SuppressWarnings("unchecked")
 public List<ReleaseVersion> loadAll(String project, SortOrder order) {
   return (List<ReleaseVersion>)
       getSession()
           .createQuery(
               "select rv "
                   + "from ReleaseVersion rv "
                   + "where rv.project = :project "
                   + "order by rv.versionNumber "
                   + order.getSqlToken())
           .setParameter("project", project)
           .list();
 }