Red Hat APPLICATION SERVER - JONAS Manual page 118

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

Advertisement

110
8.11.3.7.2. Database Mapping
t_A
c_idA
...
t_B
c_idB
...
tJoin_AB
cfk_idA
cfk_idB
...
...
In this case, there is a join table composed of the foreign keys of each Entity Bean table.
8.11.3.7.3. JOnAS Deployment Descriptor
.....
jonas-ejb-relation
ejb-relation-name a-b /ejb-relation-name
jdbc-table-name tJoin_AB /jdbc-table-name
jonas-ejb-relationship-role
ejb-relationship-role-name a2b /ejb-relationship-role-name
foreign-key-jdbc-mapping
foreign-key-jdbc-name cfk_idb /foreign-key-jdbc-name
/foreign-key-jdbc-mapping
/jonas-ejb-relationship-role
jonas-ejb-relationship-role
ejb-relationship-role-name b2a /ejb-relationship-role-name
foreign-key-jdbc-mapping
foreign-key-jdbc-name cfk_ida /foreign-key-jdbc-name
/foreign-key-jdbc-mapping
/jonas-ejb-relationship-role
/jonas-ejb-relation
.....
jonas-ejb-relation
jdbc-table-name
Optional
Optional. Default value is built from the
abstract-schema-names of the beans, separated by _.
example.
Chapter 8. Developing Entity Beans
in the
A_B

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Application server

Table of Contents