Chapter 8 O/R Mapping Modeling


Defining many-to-many association mapping

Each many-to-many association should be mapped to a middle table and two reference keys that refer to tables mapped by entity classes on the two ends.

Given the following many-to-many association defined between the class Employee and the class Title :


This association should be mapped to a middle table and references:


 


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