NHibernate has the 1.2.0 GA version, also it’s preparing to the 2.0 version that will have many ports from Hibernate 3.2.5 GA for Java.
At this time many changes were made to the NHibernate Core, big re-structurations to get into the new features.
Some features of 2.0 version:
StatelessSession: IStatelessSession it’s the [...]
By internal policies uNHAddins not have yet a release number o release version name, by now we are using the revision number at SVN for this purpose. Probably will come a branch when NHibernate 2.0 release appear, and that will be the time.
Features of new version:
Added UserType: [...]
At chat with Fabio Maulo, he tell me about the goodness of use Named Queries with NHibernate and that it’s the reason for this post.
What is Named Query ? It’s a Query that are defined at mapping files and have a unique name, could be
in HQL or Native SQL.
A HQL named query [...]
In the next NHibernate release will be available this feature ported by Fabio Maulo (key developer at NHibernate project), now it’s partial ready to test at trunk. What it does? In orden to get a NHibernate session without the first level cache we must use IStateless session interface (similar syntax to [...]
Fabio Maulo, important developer at NHibernate team, always was contributed with patchs to NHibernate, now it’s porting many features from Hibernate 3.2.5. GA -you can see here and here. Now go for Hibernate Statistics
This it’s the best part of the post, when calculate the cache hit-ratio:
double queryCacheHitCount = stats.getQueryCacheHitCount(); [...]
In this postwe talking about StatelessSession the new feature of NHibernate 2.0.0, so another feature available at trunk (port of Hibernate too) are the EventListeners. With them we can intercept actions before or after achieve it: I.e. a Save, Update, Load, Flush and others.
At this example we gonna define the EventListener make the [...]
Rhino Mocks it’s an excelent framework for mocking to use in our unit testings. One reason to use it is that do not make use of strings to hardcoding the names of types, methods, properties, etc, reducing the error posibilities at runtime.
After of 3.0.5 version released some time ago, the sintax became [...]
tweets
Recent Posts
- How To: Configure Access Control Service on Windows Azure
- Installing Windows 8 Consumer Preview with VMWare Workstation 8
- Authorizable content with Razor
- NHibernate Validator on GitHub
- NHibernate Validator 1.3.1 GA
- NHibernate Validator 1.2 Beta3 released
- NHibernate Validator 1.2 Beta2 released
- jqGrid + Linq + Asp.Net MVC example
- Asp.net MVC: Testing a custom Authorize filters
- NHibernate Validator Quickstart
Recent Comments
- Dario on Installing Windows 8 Consumer Preview with VMWare Workstation 8
- Steve C on Installing Windows 8 Consumer Preview with VMWare Workstation 8
- Quang on StatelessSession: NHibernate without first-level cache
- Luis Fernando on NHibernate Validator 1.3.1 GA
- Daniel on NHibernate – Bulk Manipulation with SQL Native
