Specifying Descriptor Types
TopLink descriptors can be a class descriptor, an aggregate descriptor, or an EJB descriptor. After creating a descriptor, use this procedure to change the descriptor type.
Note: EJB 2.0 descriptors are created only by reading the ejb-jar.xml file. An EJB descriptor cannot be an aggregate.
To Specify a Descriptor's Type:
- Right-click the descriptor in the Structure window.
- Choose Descriptor Type > specific descriptor type from the pop-up menu.
- You can also change the descriptor's type by selecting the descriptor, clicking the Descriptor Type button
in the Structure toolbar, and selecting the appropriate descriptor icon:
Related Topics
About TopLink Descriptors
Mapping Descriptors
Automapping Descriptors
Copyright © 1997, 2004, Oracle.
All rights reserved.