On Feb 7, 2005, at 11:08 PM, Adrian Ridner wrote:
Did we miss something? I'll be optimistic and hope we didn't reinvent the wheel, but if we did, it was a fun exercise :)
Read up on the docs some more. What you try to do would create a Cartesian product and be slower than two queries (which is what you discovered will happen). This is documented in every other place and a sensible limitation. You can write a custom SQL query in very special cases, if you are sure the product is faster than two queries.
-- Christian Bauer callto://christian-bauer
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