
Chapter 7. Migrating from JBoss 245
Figure 7-16 Incomplete mapping shown in the Mapping Editor
CMPs to tables manual mapping
To manually map the CMPs to the database, first map the Counter bean to the
T_COUNTER table.
1. Select the Counter bean from the tree to the left and the T_COUNTER table
from the tree to the right.
2. Right-click the T_COUNTER table and select Create Mapping
.
You should notice that the icons have changed to indicate that the mapping
was successful.
3. Map each of the remaining unmapped CMPs to the correct tables in the same
way as described in the previous step.
4. Map each of the CMP fields to a table column the same wa