SV: [Hibernate] Test suite now has 12 errors, up from 11

2004-12-19 Thread Max Andersen
Title: [Hibernate] Test suite now has 12 errors, up from 11 yes my bad. forgot to commit the last change i did - will do it later today when i get back to my box.   -max Fra: [EMAIL PROTECTED] på vegne af Joshua DavisSendt: sø 19-12-2004 03:09Til: Hibernate-DevelEmne: [Hibernate] Test s

Re: [Hibernate] introductions of new keywords to ql (Welcome to parser land!)

2004-12-19 Thread Gavin King
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 Joshua Davis wrote: Okay, that worked so I'm committing it. The new rule seems a little strange to me, but perhaps I don't understand what it's supposed to do.

Re: [Hibernate] introductions of new keywords to ql (Welcome to parser land!)

2004-12-19 Thread Joshua Davis
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 us

Re: [Hibernate] introductions of new keywords to ql (Welcome to parser land!)

2004-12-19 Thread Gavin King
Oh, don't get me wrong, it's a crappy syntax. But that's what the EJB 2.1 spec says Joshua Davis wrote: 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.

RE: [Hibernate] introductions of new keywords to ql (Welcome to parser land!)

2004-12-19 Thread Alexey Loubyansky
That looks much nicer. Thanks, Joshua. The IN expression is translated into inner join. There is EJBQLTest (next to HQLTest) which compares translation results of EJBQL and equivalent HQL queries. So, you can always look at them to see what is expected. Thanks. > -Original Message- > From

[Hibernate] NPE in ConfigurationPerformanceTest...

2004-12-19 Thread Max Rydahl Andersen
..is now removed (i hope ;) -- Max Rydahl Andersen callto://max.rydahl.andersen 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

[Hibernate] Problem in MethodNode

2004-12-19 Thread Gavin King
Guys, in the new query parser, some SQL functions like upper() and max() do not work in the select clause, since they expect to be passed the type of the expression they are applied to. Currently MethodNode.resolve() passes null: SQLFunction function = getSessionFactoryHelper().findSQLFunct

Re: [Hibernate] Problem in MethodNode

2004-12-19 Thread Joshua Davis
Try it now. :) Gavin King wrote: Guys, in the new query parser, some SQL functions like upper() and max() do not work in the select clause, since they expect to be passed the type of the expression they are applied to. Currently MethodNode.resolve() passes null: SQLFunction function = getSe

Re: [Hibernate] Problem in MethodNode

2004-12-19 Thread Gavin King
Great, you made my day! :) Joshua Davis wrote: Try it now. :) Gavin King wrote: Guys, in the new query parser, some SQL functions like upper() and max() do not work in the select clause, since they expect to be passed the type of the expression they are applied to. Currently MethodNode.resolve() pa