from Pepe p where p.Id not in (from Pepe pp where pp.Name != :pName) 2008/11/14 givoni <[EMAIL PROTECTED]>
> > Ok, I didn't know that. > > Maybe posting the concrete attempt is confusing what I wanted to do. > The idea is to compare two sets of the same class (not related > directly) and getting the objects from one set that are not in the > other. > How would that be achieved with HQL? Do I need to post the mappings or > can you give me a general idea of how to do it? > > On Nov 14, 6:55 pm, "Fabio Maulo" <[EMAIL PROTECTED]> wrote: > > 2008/11/14 givoni <[EMAIL PROTECTED]> > > > > > > > > > Really? How would you do it in HQL then? > > > > Without mappings ? only with imagination. > > > > With mappings, probably, write something like thishttp:// > nhforge.org/doc/nh/en/index.html#queryhql-expressions > > > > As you can see there is no "SELECT" clause inside "elements". > > > > -- > > Fabio Maulo > > > -- 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 -~----------~----~----~----~------~----~------~--~---
