Really? How would you do it in HQL then?
On Nov 14, 4:52 pm, "Fabio Maulo" <[EMAIL PROTECTED]> wrote:
> That query don't look like an HQL.
>
> 2008/11/14 givoni <[EMAIL PROTECTED]>
>
>
>
>
>
> > Hi,
>
> > I can't get this query to work:
>
> > SELECT UCE.Category FROM UserCategoryExpertise as UCE WHERE
> > UCE.User.Id = x AND UCE.Category NOT IN elements(SELECT
> > P.RelatedCategories From Points as P WHERE P.User = UCE.User)
>
> > It gives me an error "Could not resolve property: elements of ....".
> > Why does it parse it as a property?
>
> > Maybe the whole structure is not correct, so if there's any other
> > better way of achieving the same result, I'd be happy to get advice.
>
> > Thanks,
> > David
>
> --
> Fabio Maulo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---