This chapter provides general information about Oracle JDeveloper TopLink Editor, as well as detailed information on using and customizing it.
This chapter includes the following sections:
Using Oracle JDeveloper's TopLink editor, you can quickly and easily configure and map your Java classes, EJB, JPA entities to different data sources, including relational databases, enterprise information systems (EIS), and XML schemas without using code. The TopLink editor supports multiple standards, including JPA and EJB 3.0.
For more information, see the "Developing TopLink Mappings" section of the Oracle JDeveloper online help.
For more information, see "Configuring TopLink Preferences" in the "Developing TopLink Mappings" section of the Oracle JDeveloper online help.
Figure 4-1 shows the primary parts of the TopLink editor:
For more information, see "About the TopLink Editor" in the "Developing TopLink Mappings" section of the Oracle JDeveloper online help.
Figure 4-2 shows sample TopLink project elements in the Application Navigator.
Figure 4-2 identifies the following user interface components:
Sessions configuration file (
Figure 4-3 shows the TopLink Editor tabs for a TopLink map.
When working with an EJB or Java class, the Structure window displays the related TopLink descriptor and its mapping attributes.
When working with a TopLink sessions configuration file, the Structure window displays your sessions and session brokers.
When working with a persistence configuration, the Structure window displays your JPA descriptors and persistence units.
When you select an item in the Structure window, its properties appear in the TopLink Editor.
Figure 4-4 identifies the following user interface components:
Mapped Java attribute (one-to-one mapping)
You can perform specific functions for an item by selecting the item in the Navigator and doing the following:
Right-clicking the object and selecting the function from the pop-up menu.
Selecting the object by clicking a button in the Structure toolbar.