Category Archives: NHibernate

Win Free Copies of NHibernate 3 Beginner’s Guide

Readers would be pleased to know that I have teamed up with Packt Publishing and we are organizing a Giveaway especially for you and three lucky winners stand a chance to win a copy of Keep reading to find out … Continue reading 

Also posted in altnetconf | Leave a comment

How to map a domain model with NHibernate?

Today a friend of mine ask me the following (I am para-phrasing): “I have a question regarding NHibernate and mapping. In an application we want to access the database through NHibernate from inside a WCF service, thus lazy loading is … Continue reading 

Also posted in Refactoring | Leave a comment

NHibernate 3 Beginners Guide published

I am very pleased to announce that my book NHibernate 3 Beginners Guide has finally been published. It is a wonderful feeling to finally have a book in my hands that cost me a couple of months of intense work. … Continue reading 

Also posted in Agile | Leave a comment

NHibernate 3 Beginners Guide

I am heading towards another mile stone in my life. Later this year my first book will be published. I have always wanted to write a book but never had a topic that is at the same time interesting for … Continue reading 

Also posted in Agile, Behave# | Leave a comment

Ditching domain models for reads

Last week was a tipping point for me.  We had an issue where a production service failed because NHibernate was trying to issue thousands of UPDATE calls for domain objects that we didn’t update.  It turned out that we had … Continue reading 

Also posted in DomainDrivenDesign | 9 Comments

New book on NHibernate

Yesterday a new excellent book about NHibernate has been published by (Disclosure: I have been a reviewer thus consider that when reading this post) The book is called “NHibernate 3.0 Cookbook” and can be ordered here. There is even … Continue reading 

Also posted in Agile | Leave a comment

Analyzing historical data and playing with interactive extensions

Introduction In my last post I showed you how we make history an explicit domain concept. This time I want to show you how we use the history of the cages to generate bills. In our Zoo each cage has … Continue reading 

Also posted in Agile | Leave a comment

Making history explicit

Introduction In one product of our solution we needed to record the full history of some entities. What does this mean? It means we create a history entry whenever the state of the corresponding entity changes. When doing this there … Continue reading 

Also posted in Misc | Leave a comment

Ad-hoc mapping with NHibernate

In my recent adventures with massive bulk processing, there are some times when I want to pull bulk loaded tables from SQL, but don’t want to go through all the trouble of building a mapping in NHibernate.  For example, one … Continue reading 


Using Fluent NHibernate With Legacy Databases

I am currently working on a project that has a requirement that it be able to access  data from a legacy SQL Server database. One feature of this system is the ability to add and store checking accounts. These checking … Continue reading 

Also posted in Agile, Testing | Leave a comment