It is not a war, not even a hot argument

time to read 3 min | 508 words

From Kevin, the OR/M Wars:

Now there are is a lot of uproar at the moment from the NHibernate Mafia (as termed in DotNetRocks) slamming everything that isn't there WAY.

First, Richard & Carl, I believe the terms belongs to you - I am going to send a triple nested cursors with Cartesian products to your database as a revenge.

Second, I am rarely the kind of guy that would simply ignore something that he doesn't agree on. I don't think that there is any slamming involved in the discussions we are having, merely an opinionated argument, and I like those because they make me think.

Kevin's mentions that he evaluated NHibernate and Active Record, and he doesn't think that they will speed up development. I would like to know why, but that is a totally acceptable stand, especially when it is given from a position of someone that tried it.

The biggest thing that seems to set the NHibernate people off is using the database as anything more than a means for object persistence. What if I want to use the flash XML features or SQL 2k5? CLR types? If you have a big expensive database damn sure use it.

Give me a use case, and I'll give you an answer, you'll be surprised how much you can get out of an OR/M when you put your mind to it.

And yes, there will be cases when I will say, "that is a valid use case, use the DB directly for that".

Otherwise you could just have one table in the database and serialize out your objects to and from the db. That way you never have to worry about relational data or normalizing a database or tuning a database.

Not really a good approach, "Give me all the users registered last week" and see you next week.

What is really important, however, is this:

Now the thing that worries me most though seems to be the venom in the both some of the posts and some of the comments.

In general, I think that the discussion was being professional and educating. There were some incidents, but we are all friends now :-)

I don't like confrontational situations, they lead to violence and they I have to do paperwork, so I have a vested interest in keeping the discussion professional.