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.
broker; commit; lazy load; object-relational mapping; ORM; relational database; rollback; virtual cache; virtual proxy
• Object-relational mapping (ORM)
• Virtual proxy
• Virtual caches
The availability of persistence mechanisms for commercial languages1 has made database design much easier ...