
296 VisualAge for Java Version 3: Persistence Builder with GUIs, Servlets, and JSPs
Select the ACCOUNT table, the discriminator column (ACCTYPE), and
the discriminator value (PAYEE). The Root of the model hierarchy box is
checked automatically.
Note: The ACCTYPE column is defined as CHAR(10). Therefore all
discriminator values must be expanded with blanks to a length of 10
characters,thatis“PAYEE “,“CHECKING “,and“SAVINGS “.Ifyou
specify the values without the trailing blanks, retrieval of the accounts
from the database fails.
Select the new mapping and open it (Table_Maps -> Edit Property Maps).
Map each attribute and association (Figure 193).
Figu