Re: [nhusers] Re: Subquery in From Clause

"Fabio Maulo" <[email protected]> Wed, 9 Jul 2008 02:07:00 -0300
Newsgroups gmane.comp.windows.dotnet.nhibernate.devel
Message-ID <[email protected]>
2008/7/9 Ayende Rahien <[email protected]>:

> I am saying that we _should_ do it.


Ok we will do it but without need to touch the code-base. The code-base (I
mean all is not a query) is not coupled with HQL/Criteria/NH-SQL.

I think that the way Hibernate is working now is flawed.
> Just consider the amount of trouble we have with SQL 2005 paging as proof.
>

Yes we still have problems with pagination in MSSQL and we still have some
open issue on it.
The others dialects don't have the same problems and... what will say an ORM
purist ? (simply choose another RDBMS hahaha).
Joke joke.....

We can change the code-base a "little bit"... but only a little bit.
The part that need the change is SqlString and SqlStringBuilder class to
allow a better "rework" to the classes consume it.
At the same time the new "Expression Tree - to SQL Translator" can have some
observer/listeners and a special Dialect can use the translator events (you
know that the dialect is injectable).

Trust in H3.2 and NH infrastructure. ;)

Note: SqlString and SqlStringBuilder are NH specific
-- 
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