Chapter 12 Generating Other Models from an OOM
Developers tend to use object-oriented programming languages like Java, to develop business objects and components. Eventually, these objects need to be stored in a database, then a problem arises when the user tries to store objects in a relational database because object codes in object-oriented programming languages are often different than codes used in a relational database.
You have to modify object codes after generating an OOM into a PDM to be compliant with the DBMS.
You can define persistent codes to bypass this impedance-mismatch.
You can also create object to relational mappings between OOM and PDM objects to further define the links between objects from different models.
For more information on O/R Mapping, see section Understanding O/R mapping, in chapter Working with Object-Oriented Models.
Copyright (C) 2005. Sybase Inc. All rights reserved. |