RE: [Hibernate] Queries with composite id's

2003-01-09 Thread Jon Lipsky
Title: RE: [Hibernate] Queries with composite id's Yep, that fixed it...  Thanks! (Sorry for getting you worried that something was broken. :-) -Original Message- From: One Ovthafew [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 1:18 PM To: [EMAIL PROTECTED] Su

Re: [Hibernate] Queries with composite id's

2003-01-09 Thread One Ovthafew
Ahah - I think I know now what has changed :) Do the XXXHistoryImpl classes inherit XXXImpl? If so, then the solution is simply to add polymorphism="explicit" to your mapping documents. - Never lose a fax again, receive faxes t

RE: [Hibernate] Queries with composite id's

2003-01-09 Thread Jon Lipsky
Title: RE: [Hibernate] Queries with composite id's Ok this is really weird.  I'm not so sure that this is a problem with composite-id's now. Here is the query that it fails on: SELECT Posting FROM Posting IN CLASS com.xxx.tex.dao.posting.PostingImpl ,

Re: [Hibernate] Queries with composite id's

2003-01-09 Thread One Ovthafew
>> I recently upgraded one of our applications from Hibernate 1.0 (or one of the release around there) to Hibernate 1.2. My queries that depend on the properties of a composite id no longer work. << Yick!! I'm very surprised.I paid special attention to this in the test suite, because I knew i

[Hibernate] Queries with composite id's

2003-01-09 Thread Jon Lipsky
Title: Message Hi,   I recently upgraded one of our applications from Hibernate 1.0 (or one of the release around there) to Hibernate 1.2.  My queries that depend on the properties of a composite id no longer work.    I know that used to work because I was the one who added it originally, b