Re: [Hibernate] sql-query many aliases for a same class

2004-09-01 Thread Gavin King
Thanks, please submit this to JIRA. Laporte Yan wrote: This is my first contribution to this list, so please forgive me for my newbie manners Apparently doing a named sql query using two or more aliases referring to the same class doesn't work as expected. In other words, doing something like

Re: [Hibernate] Bug HB-1202

2004-09-01 Thread Gavin King
The cause is that when we encouter an unsaved instance in the object graph, Hibernate incorrectly cascades to saveOrUpdate() for that branch of the object graph. It's quite difficult to fix this, but I plan to do it sometime in the next month. Nick Heudecker wrote: All: Bug HB-1202 (http://ope

[Hibernate] sql-query many aliases for a same class

2004-09-01 Thread Laporte Yan
Title: Message This is my first contribution to this list, so please forgive me for my newbie manners   Apparently doing a named sql query using two or more aliases referring to the same class doesn't work as expected.  In other words, doing something like this: gives an error like t

[Hibernate] Bug HB-1202

2004-09-01 Thread Nick Heudecker
All: Bug HB-1202 (http://opensource.atlassian.com/projects/hibernate/browse/HB-1202) has become a show-stopper for me. I've dug around the source and I'm not sure of the best way to fix it. Can someone provide guidance on resolving the problem with saveOrUpdateCopy? I don't have any problem

RE: [Hibernate] O/R mappings

2004-09-01 Thread Chung, Gary
no, they are not. I tried... I was doing RootClass.getPropertyIterator() where RootClass is coming from Configuration.getClassMappings(). -Original Message- From: Gavin King [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 1:03 AM To: Chung, Gary Cc: '[EMAIL PROTECTED]' Sub