RE: [Hibernate] reusing joins in FromClause

2005-03-06 Thread Joshua Davis
I think I saw two different maps in the old QueryTranslator and I was
duplicating that behavior, but perhaps it was a mirage. :)   If you say it
re-used the joins I'll take your word for it.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Gavin King
> Sent: Sunday, March 06, 2005 12:21 PM
> To: hibernate-devel@lists.sourceforge.net
> Subject: [Hibernate] reusing joins in FromClause
> 
> 
> Joshua, is there any reason why FromClause defined both: 
> implicitJoinFromElementsByPath
> and explicitJoinFromElementsByPath? The old parser used to re-use any 
> duplicated join,
> and when I replace the two collections with a single collection, 
> everything seems to
> work (better than before).
> 
> Anyway, I will commit that change, since it helps, and 
> doesn't seem to 
> hurt...
> 
> -- 
> Gavin King
> +61 410 534 454
> +1 404 822 8349
> callto://gavinking
> 
> Hibernate
> [EMAIL PROTECTED]
> http://hibernate.org
> 
> JBoss Inc
> [EMAIL PROTECTED]
> http://jboss.com
> 
> 
> 
> ---
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from 
> real users. Discover which products truly live up to the 
> hype. Start reading now. 
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> ___
> hibernate-devel mailing list hibernate-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hibernate-devel
> 




---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] reusing joins in FromClause

2005-03-06 Thread Gavin King
Joshua, is there any reason why FromClause defined both: 
implicitJoinFromElementsByPath
and explicitJoinFromElementsByPath? The old parser used to re-use any 
duplicated join,
and when I replace the two collections with a single collection, 
everything seems to
work (better than before).

Anyway, I will commit that change, since it helps, and doesn't seem to 
hurt...

--
Gavin King
+61 410 534 454
+1 404 822 8349
callto://gavinking
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com

---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel