Generating a data definition language file from a JPA project
You can generate a data definition language (DDL) file for your JPA project.
About this task
Important: This capability is supported only for projects that target WebSphere® Application Server for Version 7.0 feature packs,
Version 8.0, and Version 8.5.
To generate a DDL file for a JPA project:Procedure
- In the Package Explorer view, right-click the JPA project and select .
- The data definition language file is created in the META-INF directory of your JPA project. Select the database connection and specify the file name and the schema. Click Finish.
What to do next
- Right-click the Table.ddl file and click .
- In the SQL File Editor, enter the connection profile information type, name, and database.
- In the editor, right-click and select Execute All.
- Check the SQL Results view to verify that the table generation is successful.