Chapter e13

Data Persistence

This chapter explains how to transform object-oriented models into relational databases and also how to load and save data automatically. Initially the object-relational mapping (ORM) technique, used to convert objects into relational database records, is explained. Then, we present a persistence mechanism based on virtual proxies, brokers, and caches.

Keywords

broker; commit; lazy load; object-relational mapping; ORM; relational database; rollback; virtual cache; virtual proxy

Key Topics in this Chapter

• Object-relational mapping (ORM)

• Virtual proxy

• Brokers

• Virtual caches

13.1 Introduction to data persistence

The availability of persistence mechanisms for commercial languages1 has made database design much easier ...

Get Object-Oriented Analysis and Design for Information Systems 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.