On 10/29/07, George.Francis <[EMAIL PROTECTED]> wrote:
>
> OK, I have now iteratively added Users to a Set in UserController.
> Is this really a necessary step for anyone wanting to use Hibernate in their
> AppFuse app?

No, it shouldn't be necessary. I remember a similar discussing
happening on this list a few months ago - but don't remember the
outcome. You might try searching the archives.

Matt

>
>
> syg6 wrote:
> >
> > 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#a13475890
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to