1 Reply Latest reply on Dec 15, 2008 5:27 AM by Nicole Schweighardt

    Get a List from query but need a Set

    Nicole Schweighardt Novice

      Hello,

      In my JSF-Webapplication I want to use HashSets in my managedBeans.
      So it would be better to get Sets and not List from my EJBs.But if I understood it in the right way with the EntityManager.createQuery I only can get a List. (getResultList)
      Is there no possibility to get a Set?

      Thanks for your hints.
      Nicki