Why I love extension points - nHibernate Driver

I have used nHibernate on linux for some time now without any major problems. The issues I have encountered have infact not been with Mono but with the MySql dialect in nHibernate. One of these where a nasty issue where nHibernate closed the connection to the database before retrieving the newly g... [More]

Common nHibernate exceptions and a question

I often get asked question about nHibernate issues the question discussed last in this post is often brought up. But lets start out with a few simple exceptions that can sometimes take up more of your time than you would like. "NHibernate.MappingException : Unknown entity class: MyNamespace.Wi... [More]

Hent data med Castle ActiveRecord

This post is in danish and is a second part in an introduction to Castle ActiveRecord, if you would like to see this content in english let me know Introduktion I sidste post kiggede vi på hvordan vi kan specificere en sammenhæng mellem vores klasser og vores database med Castle ActiveRecord. Nu e... [More]

Implementing custom types in nHibernate

nHibernate can persist a lot of different datatypes, of course all the basic types in the .NET framework and some more sophisticated. However if you feel some type is missing go ahead and implement it. All that is required is that your type implements the IUserType interface shown below: public i... [More]

Today's errors running on the trunk

I did some work today with MonoRail and some of the tools from Ayende's repository (which contains a lot of tools/code snippets/extensions etc he calls Rhino Tools). I build both things from trunk as well as nHibernate from trunk because I tried to figure out a lot of internal stuff, however this ca... [More]

Subscribing to RSS feed for a single phpbb forum

The forum for usage questions about nHibernate is a sub forum on the hibernate forum site. When you are in the nHibernate sub forum a nice and shiny RSS button is shown but the feed that it links to contains all items from all sub forums on the site which is not what i expected. I have lived with th... [More]

Failing tests against the database

I found myself trying to fix a bug in the nHibernate source today.With nHibernate its a pleasure to have a lot of unit tests to make sure you (hopefully) haven't broken anything with your changes. I did what i always do, checked out the nHibernate trunk ran all the tests and no failures. ... [More]

Detached objects in nHibernate and Lazy loading

Hopefully we all know what the definition of persistent and transient objects are when speaking of Object/Relational Mapping, if not here is a quick description: A Transient object is an instance either fetched from the database and then deleted at a later point or an object not fetched using... [More]