Following Kevin Pang’s request on my last post regarding my problems getting NHibernate, NH Spatial and SQL Server Fulltext queries to work , I am finally getting around to giving some tips and pointers, and the code that Steve Strong of iMeta knocked up for me. I needed to get these things working...
I’m a huge fan of NHibernate . It has excellent documentation and just makes the whole job of getting things into and out of the database much more enjoyable. There is a whole series of posts on NHibernate from one of the committers, Ayende . When Fluent NHibernate (FNH) came out, it was...
Composite IDs are a common pain point a beginning NHibernate user runs into. Here's everything you need to get them up and running. First, a caveat: composite keys are certainly mappable in NHibernate, but it's a little trickier than a typical single identity key would be. Compared to a normal...
There are times, when you just think something should work, and one way or another it just doesn't. I've been having one of those weeks with NHibernate. I have been using MS SQL Server 2008 spatial searching, along with SQL Server Full text search, and using NHibernate for almost all my data...
I recently implemented a reporting model in my app (a windows service) and so now have two session factories to manage within a unit of work. Originally, I was using this setting: <property name="current_session_context_class"> thread_static </property> This was causing the wrong...