BT

The Latest NHibernate Developments

by Abel Avram on Aug 12, 2010 |

The latest NHibernate developments include: the release of NHibernate 3.0.0 Alpha 1, NHibernate Profiler supporting NHibernate 3.0, and HQL Language Service for Visual Studio.

NHibernate has reached version 3.0 Alpha 1, and is “rock solid”, according to Jason Dentler, author of the upcoming book "NHibernate 3 Cookbook" from Packt Publishing, and interviewed by Scott Hanselman. Dentler also said that even if it is an alpha release, NHibernate 3 is already used in production.

The NHibernate team has gradually released new features into the code trunk, and now they are part of the alpha release. So, while these features are not necessarily new for NHibernate users, they are worth mentioning. NHibernate 3.0 supports .NET Framework 3.5, so developers can use LINQ and lambdas and still persist their objects. Dentler also said that NHibernate has a LINQ provider that is working well being backed by 300 unit tests.

Beside bug fixes, NHibernate 3.0 contains a number of new features like:

  • [NH-429] - Lazy load columns
  • [NH-1922] - Allow DetachedCriteria To Work with IStatelessSession
  • [NH-1978] - Add ability to delimit aliases in generated SQL
  • [NH-2152] - QueryOver equality to null should generate (x is null or x == value)

The code is currently frozen for new features until the actual release which is expected for the end of the year, probably in November.

The NHibernate Profiler, a separate commercial project maintained by Hibernating Rhinos,  is a  debugging tool for analyzing the usage of NHibernate in projects, especially the SQL generated. The tool is expected to be updated to support NHibernate 3.

HQL Language Service for Visual Studio is a new Visual Studio Addin by José F. Romaniello, offering Hibernate Query Language (HQL) syntax highlighting and checking, and partial Intellisense support.

Hello stranger!

You need to Register an InfoQ account or to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Mindscape NHibernate Designer by John-Daniel Trask

Abel, our company also released our NHibernate Designer for Visual Studio 2010 this week which may be of interest.

If you're interested in having a review, get in touch :-)

John-Daniel Trask
Co-founder
Mindscape Limited

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

1 Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2013 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT