ORM

Object-Relational Mapping

Definition
Defines how an in-memory object is stored in a database row and retrieved from that row
Object-Relational Mapping

When should you use it?

When business logic data is represented in objects which need to be stored in the database

Problems

  • Object/Relational mapping is hard; it may take quite an effort to get it right

Links