- Posted by Jakob Andersen on August 26, 2009
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]
- Posted by Jakob Andersen on May 13, 2008
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]
- Posted by Jakob Andersen on March 20, 2008
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]
- Posted by Jakob Andersen on March 18, 2008
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]
- Posted by Jakob Andersen on March 14, 2008
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]
- Posted by Jakob Andersen on March 12, 2008
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]
- Posted by Jakob Andersen on March 10, 2008
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]
- Posted by Jakob Andersen on September 20, 2007
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]