[Hibernate] HQL Sub Query

2004-12-02 Thread Vinay Gajjala
Hi ,      I am a biggner in Hibernate. I want to write a HQL query using sub queries.    I  through the "Hibernate in Action" book but could not find a suitable answer for my    problem.      My select query looks like this     Select u.*  from users u   where u.manager_Id = 1   and u.id not in (S

Re: [Hibernate] HQL Sub Query

2004-12-02 Thread Max Rydahl Andersen
On Thu, 2 Dec 2004 03:36:43 -0800 (PST), Vinay Gajjala <[EMAIL PROTECTED]> wrote: Please use the user forum for user questions. /max Hi , I am a biggner in Hibernate. I want to write a HQL query using sub queries. I through the "Hibernate in Action" book but could not find a suitable a

Re: [Hibernate] HQL Sub Query

2004-12-02 Thread Emmanuel Bernard
I'll give you a hint however. Check page 281 ;-) Emmanuel Bernard 01.55.21.52.14 Fnac - DSI Direction France - Nouvelles technologies 67, boulevard du Gal Leclerc 92612 Clichy Cedex Max Rydahl Andersen wrote: On Thu, 2 Dec 2004 03:36:43 -0800 (PST), Vinay Gajjala <[EMAIL PROTECTED]> wrote: Plea

[Hibernate] abstract property in 3.0 ?

2004-12-02 Thread Max Rydahl Andersen
Hi all, I've just seen the "abstract" property on . Can anyone tell what the semantics are for that ? I can see it has effect on how tables are created - but does it also tell Hibernate to not persist the class, and only non-abstract subclasses or ? Just curious to know if I should listen to it whe

Re: [Hibernate] abstract property in 3.0 ?

2004-12-02 Thread Gavin King
It is only really significant for mappings, IIRC. Max Rydahl Andersen wrote: Hi all, I've just seen the "abstract" property on . Can anyone tell what the semantics are for that ? I can see it has effect on how tables are created - but does it also tell Hibernate to not persist the class, and only