Conceptual
Login

Object-Relational Mapping

An ORM maps classes to tables and objects to rows, generating SQL from object navigation; related objects are typically lazy-loaded on first access. The abstraction hides which statements run and when, which is convenient until the generated access pattern (not the SQL you would have written) becomes the bottleneck.

Questions this Concept answers

  • Why can a mapper hide the most important fact about a page's performance?