34.5. Key Ideas

The following key ideas will be explored in subsequent sections:

  • Mapping— There must be some mapping between a class and its persistent store (for example, a table in a database), and between object attributes and the fields (columns) in a record. That is, there must be a schema mapping between the two schemas.

  • Object identity— To easily relate records to objects, and to ensure there are no inappropriate duplicates, records and objects have a unique object identifier.

  • Database mapper— A Pure Fabrication database mapper is responsible for materialization and dematerialization.

  • Materialization and dematerialization— Materialization is the act of transforming a non-object representation of data (for example, records) from a persistent ...

Get Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and the Unified Process, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.