Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3723188
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T06:10:47+00:00 2026-05-19T06:10:47+00:00

I would like to discuss the advantages and disadvantages of using ORM (such as

  • 0

I would like to discuss the advantages and disadvantages of using ORM (such as ADO.NET).

Advantages:

  • Speeds-up Development – eliminates the need for repetitive SQL code.
  • Reduces Development Time.
  • Reduces Development Costs.
  • Overcomes vendor specific SQL differences – the ORM knows how to write vendor specific SQL so you don’t have to.

Disadvantages:

  • Loss in developer productivity whilst they learn to program with ORM.
  • Developers lose understanding of what the code is actually doing – the developer is more in control using SQL.
  • ORM has a tendency to be slow.
  • ORM fail to compete against SQL queries for complex queries.

In summary, I believe that the advantages of using an ORM (mainly the reduced time taken to perform repetitive tasks) are far outweighed by the disadvantages of ORM e.g. it’s difficulty to get to grips with.

Can people point out where I am going wrong and suggest any further advantages/disadvantages.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T06:10:48+00:00Added an answer on May 19, 2026 at 6:10 am

    “ORM fail to compete against SQL
    queries for complex queries.”

    • Well both LINQ-SQL and Entity Framework Allow complex queries and even translation of SQL query results into objects.

    “Developers loose understanding of
    what the code is actually doing – the
    developer is more in control using
    SQL.”

    • Not really, if you know what you are doing. SQL profiler is enough to see what the translated SQL queries are.

    “ORM has a tendency to be slow.”

    • Yes, but delay loading and some smart options can make it almost as fast.

    “Loss in developer productivity whilst
    they learn to program with ORM.”

    • Hibernate and the Entity Framework might take time to learn but in the long run they will save time in development. LINQ-SQL on the other hand has little to no learning curve involved.

    I say, use ORM but keep this in mind.

    1. Design your queries and write code
      that will result in the least number
      of roundtrips with the server. It’s
      the overhead taken for the roundtrip
      that takes up time.

    2. Read about the experiences other
      people have had with the selected
      ORM before you dig in too deep.

    3. Always compare your queries with the
      actual ones being executed in SQL
      server profiler.

    Edit:
    You wouldn’t use an ORM for a performance critical situation same way you wouldn’t use .Net or Java to write an operating system. Consider your requirements before choosing. Even if you don’t use an ORM, you will end up doing some mapping yourself either via repeating a lot of code or by using a data dictionary. Why not use an ORM and know how to use its options to make it ALMOST as fast? Weigh up the advantages and disadvantages and make your choice.

    http://mikehadlow.blogspot.ca/2012/06/when-should-i-use-orm.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an architecture scenario and I would like to discuss to get your
For reasons that I would not like to discuss, our master database schema is
Would like to be able to set colors of headings and such, different font
I would like to discuss with you about our requirement, like we have a
I would like to implement a dynamic authentication process using Apache and PHP. My
I would like to discuss scenario when the part of our product is not
Would like to know what a programmer should know to become a good at
Would like to make anapplication in Java that will not automatically parse parameters used
Would like to know the c# code to actually retrieve the IP type: Static
Would like to know how to integarate cruise control with maven? Cruise Control comes

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.