Quantcast
Channel: Answers for "How is best to persuade someone that stored procedures can outperform ORMs?"
Browsing latest articles
Browse All 14 View Live

Answer by Fatherjack

For me I would endeavour to demonstrate it rather than explain it in theory. All your arguments are sound but the proof of the plan is in the execution.. to butcher a well known phrase...

View Article



Answer by WilliamD

Not that I am pro-ORM, but won't the greatly improved query hashing and fingerprinting greatly help an ORM to still re-use plans? I was under the impression MS had done **alot** of work to get this...

View Article

Answer by ThomasRushton

I would also be inclined to demonstrate it in terms of the SQL queries being run generated by whatever ORM-based toolset used, and show by how much the traffic decreases when using hand-crafted SQL...

View Article

Answer by Grant Fritchey

The deal is, you need to look at the ORM tool. Some of them are fairly reasonable about the generated code and only create parameterized queries, which are no different than stored procedures. But,...

View Article

Answer by Kev Riley

The biggy for me is security - WilliamD touched upon it, but I think it's worth mentioning it explicitly. You can implement a DAL/API type layer, but most ORMs rely on the fact that they require, read...

View Article


Answer by Kevin Feasel

If you really want to watch the fur fly, say that [object-relational mapping is the Vietnam War of computer science](http://blogs.tedneward.com/2006/06/26/The+Vietnam+Of+Computer+Science.aspx). That's...

View Article

Answer by TimothyAWiseman

Numerous good points have been raised here, but I think one key tool that I haven't seen mentioned is to show them the results from SQL Server Profiler. You can show them that the queries written are...

View Article
Browsing latest articles
Browse All 14 View Live




Latest Images