Yep. You're using Hibernate right? Just cast the List of Users to a LinkedHashSet in your UserController. List allows duplicates, Sets do not.
Cheers, Bob George.Francis wrote: > > I'm getting some strange behaviour. I find that if I assign two Roles to > User 'admin' then when I call > userManager.getAll() I get two instances of the admin user in the List. > Has anyone else seen this kind of behaviour? What causes it? > -- View this message in context: http://www.nabble.com/Duplicate-Users-in-List-tf4699959s2369.html#a13440292 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
