Gavin King wrote:

This EJBQL2 query:

  FROM Foo foo, IN(foo.bars) bar

Is exactly equivalent to this HQL/EJBQL3 query:

FROM Foo foo JOIN foo.bars bar

Yes, so I gathered from the grammar. It's no big deal, but the following would be slightly 'nicer' IMHO:


   FROM Foo foo IN (foo.bars) bar

The user can see that the IN is associated with the previous class, just like HQL JOIN syntax. If that's the way EJBQL syntax is defined, then nevermind, I'm just being a parser geek.

BTW, the semantic action to do this translation is quite elegant Alexey. Nice! :)




-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to