I agree whole heartedly with Stefan on point 4 of “Some other advantages of Using ORM Frameworks.” I have only seen this done once and with very poor execution by a vendor utilizing Delphi. The ORM generated fields for EVERY field in EVERY table. This caused EVERY sql query to use. . . well, you have the point. With relational databases, this can cause incredible overhead on a network and within the database server itself. So, be observant about what the ORM code does, question the vendor, and make an educated decision.
Stefan also correctly points out that someday you just have to dive down into the code, SQL code in this case. While the more complex queries may take some study, spending time understanding what is efficient and what does not work is time well spent. And, after all, we all have our colleagues on the net to help us.
Take Care and Happy Holidays!
Tom
]]>