Show TOC Start of Content Area

Procedure documentation Editing persistent.xml  Locate the document in its SAP Library structure

Use

You edit the deployment descriptor in the relevant multipage editor. The multipage editor ensures that the elements in the generated XML file are complete and in the correct order.

The tabs of the multipage editor are organized to reflect the structure of the descriptor being edited. The final tab, Source, displays the generated XML file. You can also directly edit the XML file.

Here, the general procedure for editing the file is described. For description of specific tasks, follow the links listed below.

Prerequisites

An EJB project with an enterprise bean with container-managed persistence exists.

Procedure

       1.      In the J2EE Explorer view, select the persistence.xml node.

       2.      From the context menu, choose Open.

The multipage editor is displayed.

       3.      Select the relevant tab and enter your changes.

       4.      Choose Save from the toolbar.

 

See also:

·        General

¡        Specifying the Data Source and Database Vendor

¡        Choosing the Locking Type

¡        Verifying the Object/Relational Mapping

·        Entity Beans

¡        Mapping Entity Beans to Database Tables

¡        Mapping Persistent Fields (cmp-fields)

¡        Defining Entity Beans as Read-Only

¡        Specifying the Deployment Properties of Finder/Select Queries

End of Content Area