beautypg.com

Table 3-1, Relationship information for the customer module – Apple Mac OS X Server v10.3 User Manual

Page 27

background image

10. Set Auto Increment to yes.

11. Click the CMP - Relationships tab.

12. Configure the relationships.

“Table 4-1” lists the relationship information for the customer module.

Table 3-1

Relationship information for the Customer module

Column name

Role name

Relationship name

account_fk

AccountEJB

CustomerEJB-AccountEJB Relationship

address_fk

AddressEJB

ContactInfoEJB-AddressEJB Relationship

profile_fk

ProfileEJB

CustomerEJB-ProfileEJB Relationship

contactInfo_fk

ContactInfoEJB

AccountEJB-ContactInfoEJB Relationship

creditCard_fk

CreditCardEJB

AccountEJB-CreditCardEJB Relationship

Perform the following steps to configure each relationship listed in “Table 4-1”.

a.

In the Ejb Relations list, select the relationship to configure, and click Edit.

b. In the Relationship Roles list, click the corresponding relationship role.

c.

Click New next to the Key Fields list.

d. In the Field Name text field, enter

pk

.

e.

From the Column Name pop-up menu, choose the name of the appropriate column, and click
Update.

Configure the Pet Store Enterprise Application

27

2005-08-11 | © 2003, 2005 Apple Computer, Inc. All Rights Reserved.

C H A P T E R 3

Configuring and Deploying Sun’s Pet Store