Re: [nhusers] Re: Subquery in From Clause

"Fabio Maulo" <[email protected]> Wed, 9 Jul 2008 01:10:16 -0300
Newsgroups gmane.comp.windows.dotnet.nhibernate.devel
Message-ID <[email protected]>
2008/7/9 James Kovacs <[email protected]>:

> but I think this issue must be seriously addressed in the NH 2.1 timeframe.
> (Then again, I've got no voting rights as I'm not a committer. So feel free
> to ignore my rantings.)
>

James, we are not ignoring users; believe me we are not ignoring nobody
especially when users talk about AST parser.
We perfectly know how many important is it (we having some open issues
related with AST HQL parser).
To work in HQL we need a lot of time and, in the past (before start the work
for even/listeners), I spent 2 months, of my free time, studying a possible
solution for AST parser.
After that I realize that we are still far from H3.2 and before spent time
to work in new parser is better invest time to bring NH to H3.2.
When we are very closer we can start the work for the new parser.

BTW the queryTranslator is injectable in NH trough configuration property
"query.factory_class". Who want start a new AST parse can start just now
without need to be a committer.
So far I know there are two started work in two OSS project:
- ANTLR based parser in rhino-commons project (SourceForge) (committers
supported by Ayende)
- GOLD Parser based in uNhAddIns (google code) (Committers supported by
Fabio)

We will support any other project want start to work on AST-HQL-Parser.

Now think about this (I had this chat with Ayende more than one year ago):
What do an AST-HQL-Parser ?
Which is the result of parse an HQL to an AST ?
What we do after have an AST representation of a OO query ?

My answer is:
LINQ give us an AST representation of an OO query; we can translate it to
SQL.

-- 
Fabio Maulo

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08

_______________________________________________
Nhibernate-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nhibernate-development