No; I've mentioned this a few times:

Hibernate never rendered any outerjoins in the first SQL statement
(ie. the one translated from HQL). Any objects that needed to be
fetched subsequently were certainly fetched using outerjoins. ie.

 from foo in class Foo

turned into

 select * from FOOS foo

followed by

 select *
 from BAR bar
 left outer join BAZ baz on bar.BAZ = baz.ID
 where bar.ID = ?

I wasn't ever happy with this before, since it could be a performance
problem for some queries. I just needed a contiguous block of time to
sit down and work outerjoin fetching into the query translator. It
wasn't at all difficult to get to this point:

 select *
 from FOOS foo
 left outer join BAR bar on foo.BAR = bar.ID
 left outer join BAZ baz on bar.BAZ = baz.ID
 where bar.ID = ?

for queries against a *single* table. I still need to get it working
for queries like:

 from foo in class Foo, bar in class Bar

I am working on this today.


> What does the subject from the cvs commit message actually mean ? :)
> (I thought Hibernate already outerjoin fetched in every kind of query ?)





-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to