Chapter 9 Working with Object-Oriented Models


Understanding O/R mapping

You create a mapping between OOM objects and PDM tables to setup object persistence. Data comes from a data source and is managed by an OOM. The mapping is displayed as a query defined in the OOM object: this query allows you to handle data in the data source.

In O/R mapping, the data source contains one or several physical data models representing the structure of the relational database in which OOM objects will be stored.

The following schema illustrates the link between classes and tables to store objects in a relational database:


 


Copyright (C) 2006. Sybase Inc. All rights reserved.