InfoCenter Home >
6: Administer applications >
6.6: Tools and resources quick reference >
6.6.5: Administering EJB modules (overview) >
6.6.5.1: Administering EJB modules with the Java administrative console >
6.6.5.1.4: Exporting table DDLs of EJB modules with the Java administrative console

6.6.5.1.4: Exporting table DDLs of EJB modules with the Java administrative console

You can export the DDL for each EJB module that contains container managed persistence (CMP) entity beans. You can save the DDL files to the location of your choice.

Later, you (or a database administrator) can use the saved DDL with the database vendor product to create database tables that correspond to the EJB modules. See Recreating database tables form the exported table DDL for instructions.

The data store that the DDL schema is loaded into should be the same data store specified in the container managed entity bean data source bindings. The bindings should be those that were specified for each enterprise bean, using the Application Installation wizard.

To export a DDL:

  1. Locate the EJB module instance.
  2. Right-click your EJB module in the details view and select Export Table DDL from the popup menu.
  3. In the Export Table DDL dialog that opens:
    1. From the Node drop-down list, select a node to which the DDL should be exported.
    2. In the Export directory field, specify the target drive and directory for the DDL.
    3. Click OK.

The DDL will be exported to the specified node and directory, and will have the name enterpriseApplicationName_ejbModuleName_Table.ddl.

Go to previous article: Showing the status of EJB modules with the Java administrative console Go to next article: Moving EJB modules to other application servers with the Java administrative console

 

 
Go to previous article: Showing the status of EJB modules with the Java administrative console Go to next article: Moving EJB modules to other application servers with the Java administrative console