Specifying Mapping Information in ejb-jar.xml File

For 2.0 CMP projects, the ejb-jar.xml files stores information on bean-to-bean relationships (mappings) in the <relationship> element. By updating this information in the ejb-jar.xml, the TopLink Mapping editor creates new mappings. You can then update the mapping information (such as reference tables).

If the information does not exist in the ejb-jar.xml file, you can build the mappings in the TopLink Mapping editor, then write the information to the file.


Related Topics

About TopLink Descriptors

About TopLink Mapping Types
Working with Common Mapping Properties
Specifying Direct Access and Method Access
Specifying Read Only Settings
Defaulting Null Values
Maintaining Bidirectional Relationships
Specifying Field Names and Multiple Tables
Specifying Collection Properties
Working with Descriptors

 

Copyright © 1997, 2004, Oracle. All rights reserved.