beautypg.com

Apple Mac OS X Server v10.3 User Manual

Page 26

background image

5.

From the Entity Command Name pop-up menu, choose

no-select-before-insert

.

The advantage of configuring the database and the data-source mapping at the module level is
that the settings apply to all the enterprise beans in the module. Therefore, you don’t have to
configure those settings for each enterprise bean in the module, unless they differ from the ones
set for the module.

6.

Click the CMP - PK Generation tab.

7.

In the Unknown Pk Class text field, enter

java.lang.Long

.

8.

In the Field Name text field, enter

pk

.

9.

In the Column Name text field, enter

pk

.

26

Configure the Pet Store Enterprise Application

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