Daily Archives: April 1, 2008

nHibernate 2.0 Alpha

Entity Framework owes a lot to the feedback of the nHibernate crew who, as Roger Jennings so aptly states, “were responsible for making the Entity Framework folks finally understand what persistence ignorance is all about”.

The PI side of EF still has a long way to go, so in the meantime nHibernate continues to get stronger and stronger.

The alpha of a new version that logs over 100,000 lines of code changes was just released.

I know those guys are beyond frustrated with the current state of Entity Framework and the persistence of people like me who are curious about it and continue to share what I learn with whoever wants to listen, rather than just telling them to run away from data centric programming and join the ALT.NET wave. But what can I say. I embrace the options even if I can’t become expert in them all.

Anyway, this release is a huge accomplishment and to have it be done with the dedication of what it takes in an Open Source environmnet to roll out a tool that can be used in big enterprise applications is really impressive.

LINQ to SQL (and LINQ to Entities) performance improvements for VIsual Basic

Highlights of this post from Timothy Ng of the VB team:

“Over the last few months, the VB and Data Programmability teams were working on fixing a performance problem with LINQ to SQL (which also manifested in LINQ to Entities). The issue was that LINQ to SQL was generating sub optimal T-SQL queries when the VB LINQ queries included filters over nullable columns.”

“The good news is that the LINQ to SQL team has a fix to their code generation to recognize this pattern, and now they emit the SQL code that you would have expected to emit”

“In other words, LINQ to SQL (and LINQ to Entities – we made the same fix there) is now smart enough to pass three-value logic from VB to SQL.”

Congrats to Matthieu Mezil who became a father yesterday and an MVP today!

I’m not sure which he is more excited about! Just kidding. But considering that his wife is going to let him go to the MVP summit only 2 weeks after their first child is born, it makes one wonder!

Hey Matthieu – what’s this about making fun of being a VB MVP? 😉

Matthieu has spent a lot of time in the MSDN forums answering questions on Entity Framework. Thanks to him, I’ve had time to write my book while he gives the team a run for their money on answering questions. 🙂