Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

The ORM Dilemma

By Steve Jones,

I'm not a big fan of ORM frameworks. I've worked with a few and they have been problematic to me as a DBA or end user when I've been under a load or I've been trying to get a change made. Perhaps my developers have not understood the framework well enough to make it work well, but it's left a bad taste in my mouth that has be cringing every time someone suggests going with an ORM framework.

I ran across this post recently called "How to fail at ORM" and it's kind of a funny look at various things that will ensure you fail when implementing an ORM, but these are the types of things that have seen various developers do. Things like Consider the ORM’s SQL engine to be a black box or

Use ORM generated schema without manually tweaking it.

Any software that is built as a general framework or a general solution will  often need some tweaking. You can't solve specific problems well with general tools. You'll need to tweak them to fit your needs, which requires some understanding of how the system works, and it requires effort on the part of the entire development team, DBA included.

I've been wary of living with a framework since I think that these modifications can sometimes take more time than it might take to write your own system. This becomes part of the build v buy decision that so many companies struggle with. In my mind, you can start with a framework, but you will likely quickly evolve into your own development project, which you'll then be maintaining.

ORM frameworks can save time, but not by themselves. It requires an investment on the part of the developers to learn more about how the framework is built and the courage to change it when it doesn't perform well.

Steve Jones


The Voice of the DBA Podcasts

Everyday Jones

The podcast feeds are available at sqlservercentral.mevio.com. Comments are definitely appreciated and wanted, and you can get feeds from there.

You can also follow Steve Jones on Twitter:

Overall RSS Feed: or now on iTunes!

Today's podcast features music by Everyday Jones. No relation, but I stumbled on to them and really like the music. Support this great duo at www.everydayjones.com.

Total article views: 387 | Views in the last 30 days: 2
 
Related Articles
ARTICLE

Introducing Boomerang - A Notification Framework

Boomerang is a notification framework for IT professionals providing service oriented infrastructure...

ARTICLE

Podcast Announcements

Podcast Feeds

BLOG

SSIS ETL Frameworks

In my years as a BI Professional I have seen many ETL Frameworks. They range from homegrown internal...

FORUM

Entity Framework - Adhoc queries...

Entity Framework - Adhoc queries...

FORUM

problem in generating the required data

problem in generating the required data

Tags
editorial    
orm    
 
Contribute

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones
Editor, SQLServerCentral.com

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones