code: @SuppressWarnings("unchecked")
      protected Set<E> queryForSet(String jpaql)
      {
          return new HashSet<E>(getEntityManager().createQuery(jpaql).getResultList());
      }
docs: ----------------------------------------------------------------------------------------------------------------------