Is NHibernate 3.0 built-in Linq provider stable?

There has been much debate on the nhusers list as there are quite a few issues still outstanding. I would look on the nhusers group and read some of the posts and make your own mind up. See here for posts.

Personally I have found that queryover does all that I need so I for one would wait until the Linq provider becomes more stable over time. I would recommned in joining the nhusers group to get a better feel.

Thanks very munch, But I need some more "Generic" query method than queryover! – MSS Dec 23 '10 at 9:57.

The noticeable problems I found is: .OfType() method is not implemented that can be a problem with inheritance hierarchies. Left joins are not supported Non-trivial group by operations do not work (even something as simple as sorting by group count). Fetch() must be the last method in the query which can make paging with associated collections difficult.

However, it is definitely an improvement from the NHContrib provider. The operations you listed are supported just fine in the usual scenarios.

I played around briefly with it but I couldn't get this to work. One thing I did not try was the put Cacheable at the end of the query. Also if this does the trick then can you use Fetch along with Cacheable.

– nfplee Dec 30 '10 at 13:39 I have not tried cached queries with LINQ. – Dmitry Dec 31 '10 at 5:18.

The LINQ provider is far more stable and advanced than the one written by Ayende. (not dising what he wrote it was because of what he wrote that I picked up NH again) I think the only issue I've come across with NH Query is composite types. You can do them in EF/L2S, and NH3 seems to generate the correct sql but fails to get to executing it.

Personally I like QueryOver, it reads better to me.

Thanks,But what are (EF/L2S) – MSS Dec 23 '10 at 9:58 Entity Framework, Linq2Sql. Just other ORM's. – Phill Dec 23 '10 at 10:01.

There has been much debate on the nhusers list as there are quite a few issues still outstanding.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions