Thank you! It worked!

On 8/6/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>
> What about "from User where roles.name=?"
>
> On 8/6/07, misun chung <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > Hi all,
> >
> > I need to get email addresses based on a role name.
> > In the UserDaoHibernate, what will be the query?
> >
> >
> >         List users = getHibernateTemplate().find("from User
> > where roles=?", "admin");
> >
> >
> > This didn't work.
> > Thank you!
>
>
> --
> http://raibledesigns.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to