web server - Borland Technical Publications

web server - Borland Technical Publications web server - Borland Technical Publications

techpubs.borland.com
from techpubs.borland.com More from this publisher
12.11.2014 Views

Setting Properties Editing Entity properties To edit Entity properties using the EJB Designer: 1 Start the DDEditor and open the deployment descriptor for the JAR containing your entity beans. 2 Select the top-level object in the DDEditor's Navigation Pane. In the Properties Pane you will see three tabs -- General, XML, and EJB Designer. 3 Choose the EJB Designer Tab and left-click on any of the bean representations that appear. Click the Properties button. The Entity Beans Properties window appears. 4 Edit the properties you desire and click OK. The properties themselves are discussed below. Figure 16.1 Edit Entity Bean Properties Editing Table and Column properties Table and Column properties can only be set by editing the ejb-borland.xml descriptor file from the DDEditor's Vendor XML Tab, or by using the EJB Designer. To edit or add Table and Column properties: 1 Start the DDEditor and open the deployment descriptor for the JAR containing your entity beans. 2 Select the top-level object in the DDEditor's Navigation Pane. In the Properties Pane you will see three tabs: General, XML, and EJB Designer. 3 Select the XML Tab. Two additional Tabs are now available in the Properties Pane; Standard and Vendor. Choose Vendor. Chapter 16: Using BES Properties for CMP 2.x 145

Setting Properties Figure 16.2 Editing table and column properties 4 Locate or add either the or elements and add property definitions in accordance with the borland-specific DTD. Germane entries are in bold. Descriptions of the entity, table, and column properties follow, including their data type, default values, and a property description. 146 BES Developer’s Guide

Setting Properties<br />

Figure 16.2<br />

Editing table and column properties<br />

4 Locate or add either the or elements and<br />

add property definitions in accordance with the borland-specific DTD. Germane<br />

entries are in bold. Descriptions of the entity, table, and column properties follow,<br />

including their data type, default values, and a property description.<br />

146 BES Developer’s Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!