It seems that the theta WHERE fragments aren't being included in the SQL tree because the FromElement has the 'useWhereFragment' flag set to false by MethodNode.resolveCollectionProperty. This is interesting because MethodNode.resolveCollectionProperty is the *only* place that sets this flag. Probably the best idea would be to replace useWhereFragment with some conditional logic in the join post processing code that creates the theta joins. I'm not sure what that logic would be, as there seems to be no way of finding out whether the dialect supports ANSI joins directly.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Gavin King > Sent: Sunday, February 27, 2005 9:34 AM > To: 'hibernate-devel@lists.sourceforge.net' > Subject: [Hibernate] New query parser: Almost There! > > > Guys, we got one last remaining serious bug - some HQLTests > with index() > or [] fail when using a Dialect with theta-style outerjoins. > > After that, I only got very little things that don't really > matter for > being able to release. > > Let's get this last one done.. ;) > > -- > 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_ide95&alloc_id396&op=ick > _______________________________________________ > 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_ide95&alloc_id396&op=click _______________________________________________ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel