[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Get a List from query but need a Set

NSchweig do-not-reply at jboss.com
Fri Nov 28 06:02:10 EST 2008


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192977#4192977

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4192977



More information about the jboss-user mailing list