Red Hat APPLICATION SERVER - JONAS Manual page 120

Jonas
Hide thumbs Also See for APPLICATION SERVER - JONAS:
Table of Contents

Advertisement

112
ejb-name A /ejb-name
/relationship-role-source
cmr-field
cmr-field-name b /cmr-field-name
/cmr-field
/ejb-relationship-role
ejb-relationship-role
!-- B =
ejb-relationship-role-name b2a /ejb-relationship-role-name
multiplicity One /multiplicity
relationship-role-source
ejb-name B /ejb-name
/relationship-role-source
cmr-field
cmr-field-name a /cmr-field-name
/cmr-field
/ejb-relationship-role
/ejb-relation
/relationships
.....
8.11.4.1.2. Database Mapping
Two mappings are possible, one or another of the tables may hold the foreign key.
Case 1:
t_A
c_id1A
...
t_B
c_id1B
c_id2B
...
...
Case 2:
t_A
c_id1A
c_id2A
...
...
t_B
c_id1B
...
A --
c_id2A
...
c_id2B
...
Chapter 8. Developing Entity Beans
cfk_id1B
...
cfk_id1A
...
cfk_id2B
...
cfk_id2A
...

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the APPLICATION SERVER - JONAS and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Application server

Table of Contents