Category Archives: nhibernate

Configuring Fluent NHibernate with an External NHibernate Config File

A while ago I was having issues using configuring fluent NHibernate with an external configuration file. I kept running into the issue of mappings not being registered. I was finally able to get it working appropriately and thought I would … Continue reading 

Also posted in git | 3 Comments

Some quick updates

I know I’ve been remiss in my blog posting duties. Please trust me when I say it’s for good reason and that you’d understand. I appreciate you sticking with me. In the meantime, here are a few tidbits that you … Continue reading 

| 2 Comments

Castle ActiveRecord and registering classes at runtime

I use the following trick for adding ActiveRecord classes after the fact for our in-house plug-in architecture.  Thanks to whichever blogger/mailing list I picked this up from so long ago. Scenario 1: Class(es) to load inherit from same base class … Continue reading 

Also posted in altnet, git | 24 Comments

FluentNHibernate Contrib (FNH.Contrib) Is Alive!

A few months ago, a coworker created a set of extension methods to turn NHibernate’s Criteria API into a more fluenty, strongly typed API. We’ve been using it in a production app for a few months, and I wanted to … Continue reading 

| 14 Comments

What’s been happening in Fluent NHibernate land?

  Fluent NHibernate has seen a flurry of development followed by a complete lack of commits, I figure it’s time to let everyone know what’s going on. The Short Version We’re rewriting the internals. We have 100% of tests passing, … Continue reading 

Also posted in fluent nhibernate, open source | 6 Comments

NHibernate 2nd level cache and multiple databases

Today we had an issue with our system. The application was showing unexpected behavior when different people where working with different databases. The application is a Silverlight based application. What we found out was that although the application was using … Continue reading 

Also posted in Uncategorized | Tagged , | 29 Comments

Article series on NHibernate and Fluent NHibernate – Part 2

Today the second part of my series on NHibernate and Fluent NHibernate went live. You can read it here. Summary In part 2 of the article series I have continued to implement the remaining part of the domain which I … Continue reading 

| Leave a comment

Article series on NHibernate and Fluent NHibernate

I have been invited to write a series of articles on NHibernate and Fluent NHibernate on http://dotnetslackers.com. The first part of this series has just been published. I invite you to read it here. In this series I start from … Continue reading 

Also posted in fluent nhibernate, git, ndc, speaking | 2 Comments

Need Advice: Teach NHibernate with Fluent NHibernate or Without?

I’m in the process of writing an upcoming article for CoDe Magazine about getting started with NHibernate. I’ve spoken with several people about my approach and the majority of them seem to agree that I should use Fluent NHibernate for … Continue reading 

| 29 Comments

NHibernate + XML Columns

One of the things I’ve been working on recently involves using XML columns in SQL Server.  Starting out, it was simple and I was just doing vanilla ADO.NET (wrapped in a simple Query API) combined with XML serialization/deserialization, which worked … Continue reading 

| 6 Comments