RE: [Hibernate] Polymorphic queries, where and order by

2004-09-29 Thread March, Andres
hort-sighted. > -Original Message- > From: Emmanuel Bernard [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 29, 2004 12:59 PM > To: March, Andres > Cc: William Draï; Emmanuel Bernard; [EMAIL PROTECTED] > Subject: Re: [Hibernate] Polymorphic queries, where and order by

Re: [Hibernate] Polymorphic queries, where and order by

2004-09-29 Thread Emmanuel Bernard
rm in applying it to 2.1 CVS head but maybe I'm short-sighted. -Original Message- From: Emmanuel Bernard [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 29, 2004 12:59 PM To: March, Andres Cc: William Draï; Emmanuel Bernard; [EMAIL PROTECTED] Subject: Re: [Hiberna

Re: [Hibernate] Polymorphic queries, where and order by

2004-09-29 Thread Emmanuel Bernard
? *From:* William Draï [mailto:[EMAIL PROTECTED] *Sent:* Wednesday, September 29, 2004 11:22 AM *To:* Emmanuel Bernard *Cc:* March, Andres; [EMAIL PROTECTED] *Subject:* Re: [Hibernate] Polymorphic queries, where and order by I haven't yet tested with H3. I think there were no change logs relat

RE: [Hibernate] Polymorphic queries, where and order by

2004-09-29 Thread March, Andres
; [EMAIL PROTECTED] Subject: Re: [Hibernate] Polymorphic queries, where and order by   I haven't yet tested with H3. I think there were no change logs related to this. I will try as soon as I have enough time. We can live without this "feature" for a few more weeks. Thank you

Re: [Hibernate] Polymorphic queries, where and order by

2004-09-29 Thread William Draï
On Behalf Of William Draï Sent: Tuesday, September 28, 2004 1:31 AM To: [EMAIL PROTECTED] Subject: [Hibernate] Polymorphic queries, where and order by Let's say we have the following (simplified) mapping : Now we can execute any HQL query on the class A using the

RE: [Hibernate] Polymorphic queries, where and order by

2004-09-29 Thread March, Andres
well-received by the hibernate team. > -Original Message- > From: Raphael Jean [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 29, 2004 10:25 AM > To: March, Andres > Subject: RE: [Hibernate] Polymorphic queries, where and order by > > Hello, > > Would y

RE: [Hibernate] Polymorphic queries, where and order by

2004-09-29 Thread March, Andres
PROTECTED] Sent: Wednesday, September 29, 2004 9:30 AM To: March, Andres Cc: [EMAIL PROTECTED] Subject: Re: [Hibernate] Polymorphic queries, where and order by   Speaking from memory, Gavin did implement something on the (now dead 2.2 branch). It now has been reporded on H3. Did you test it? I can

Re: [Hibernate] Polymorphic queries, where and order by

2004-09-29 Thread Emmanuel Bernard
EMAIL PROTECTED] [mailto:hibernate-devel- [EMAIL PROTECTED]] On Behalf Of William Draï Sent: Tuesday, September 28, 2004 1:31 AM To: [EMAIL PROTECTED] Subject: [Hibernate] Polymorphic queries, where and order by Let's say we have the following (simplified) mapping : No

RE: [Hibernate] Polymorphic queries, where and order by

2004-09-29 Thread March, Andres
to others. > -Original Message- > From: [EMAIL PROTECTED] [mailto:hibernate-devel- > [EMAIL PROTECTED] On Behalf Of William Draï > Sent: Tuesday, September 28, 2004 1:31 AM > To: [EMAIL PROTECTED] > Subject: [Hibernate] Polymorphic queries, where and order by > &g

[Hibernate] Polymorphic queries, where and order by

2004-09-28 Thread William Draï
Let's say we have the following (simplified) mapping : Now we can execute any HQL query on the class A using the field1, for example "from A a where a.field1 like 'anything%'" or "from A a order by a.field1" The problems come when we want to use the field2 with the same q