IBM Version 5 manual EJB to RDB mapping editor

Models: Version 5

1 340
Download 340 pages 15.44 Kb
Page 260
Image 260

Figure 10-21 EJB to RDB mapping editor

To create the customer table in the database:

1.Close the mapping editor.

2.Close the J2EE perspective, and open the data perspective. Choose the data definition view.

3.Expand the CustomerInfoEJB project. Under the /ejbModule/META-INF, you will find Table.ddl file.

4.Run the Table.ddl file on server. This will launch the ddl file.

5.Make sure that all of the script commands are selected. Click Next.

6.Select Commit changes only upon the success option.

7.Click Next.

8.Complete the database connection information as shown in Figure 10-22.

9.Click Finish to create the schema and the table.

244 The XML Files: Development of XML/XSL Applications Using WebSphere Studio

Page 260
Image 260
IBM Version 5 manual EJB to RDB mapping editor