Data persistence
Abstract
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 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; and virtual proxy
Key topics in this chapter
- • Object-relational Mapping (ORM)
- • Virtual Proxy
- • Brokers
- • Virtual Caches
17.1 Introduction to data persistence
The availability of persistence mechanisms for commercial languages1 has made database design much easier for ...
Get Object-Oriented Analysis and Design for Information Systems, 2nd 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.