NHibernate Posts



1-5 of 7

MVC and NHibernate problem with IIS 7 (Saturday, May 15, 2010)

In the process of upgrading my IIS 6 to IIS 7, my website was down for almost a whole day. The problem, at first, was that only front page of the site worked all other pages returned a status 404 due to the fact that all routing was stopped working. The problem which was fixed by my hosting provider, but after that, the whole web site stopped working.

 


NHibernate QueryOver API - Find The Bug (Saturday, April 10, 2010)

I have updated to the latest version NHibernate, built on the trunk. I'm using it for a pet project that uses latest NHibernate 3.0 functionalities. Using the new QueryOver API is my favorite new functionality but using it might be tricky sometimes. Do you think you can find out what is the problem with this code?

 
Filed under | 5 comments »



NHibernate JetDriver : Another Issue (Tuesday, May 26, 2009)

There is yet another issue with NHibernate and JetDriver I encountered yesterday. It seems that a select query containing "Order By", will gets its "From" keyword cut off at some stage by the Jet Driver. It means simple object querying won't work. 
Filed under | 0 comments »



NHibernate and DateTime (Wednesday, May 20, 2009)

I've been working on a WPF application which is maybe another post. The work is done and I have started localizing the applications. Localization was mostly chanding the FlowDirection and lables / texts for other languages, but when testing the application, I came across an intresting problem with Nhibernate. The application worked correctly in default (en-us) culture, but not in fa-ir, as NHibernate reported problems when running the working query. 
Filed under | 0 comments »



NHibernate Automatic Validation (Tuesday, April 28, 2009)

NHibernate is for sure one of the prodigy childs of the .NET open-source movement, yet there are some other great libraries and frameworks. One of them is NHibernate Validator which belongs to NHibernate Contrib project. What it does is to validate your domain entities that supposedly are being persisted using NHibernate, but it provides so much flexibility that you can validate almost every POCO class using attributes.