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
...if anybody is interested in:
I change now my Set to a List und vice versa.
Set hashSet = new HashSet(); List arrayList = new ArrayList(hashSet);