Advanced Object Concepts: Objects and Databases

07/01/00


Click here to start


Table of Contents

Advanced Object Concepts: Objects and Databases

Objects and Databases: Course Outline

Mapping Objects to a Relational Database is the most common approach today

Every OO Toolset provides some Classses that map onto the Relational DBMS constructs

Wrapping the database keeps the impedence mismatch between Objects and SQL

Delphi Components were designed for GUI presentation of Database Entities

A common mistake is to use the Data Model as the Object Model

Successful mapping of Objects to Relational Databases requires understanding of both

Generation of Object Identifiers

Generation of Object Identifiers

Generation of Object Identifiers

Mapping Objects to Relational databases is relatively simple

Object Attributes map to zero or more Columns

Classes map to Tables

Comparing Mapping Strategies

Mapping Relationships looks similar to the relational model, but there are differences

When Mapping, remember to avoid hardcoding the table and column names

Database Views are an alternative mechanism for mapping with name independence

The practice of interfacing Objects to Relational Databases is still evolving

A Database Management System provides many facilities to applications

Summary so far: Most OO Tools provide relational mapping

Author: Bill Ross

Email: wnross@home.com