...

/

Object Relational Mapping

Object Relational Mapping

Learn about object-relational mapping using the application's design and the database model.

Designing a database model reminds one of designing an application’s object model to some degree. This is so much the case that sometimes you might wonder if maintaining both is a case of breaking the Don’t Repeat Yourself (or DRY) principle.

Application’s design vs. the database model

There’s a fundamental difference between the application’s design of its internal state (object-oriented or not) and the database model, though:

  • The ...