Generating Tables (DDL) from Entity Beans |
Complete information will be available in a future build.
Use this procedure to generate DDL script (for database tables) from your persistent entities. You must establish a database connection before generating DDL files.
Right-click the persistent project in the Package Explorer and select Java Persistence > Generate DDL.
Complete the information on the Options page page of the Generate Database DDL from Entities Wizard and click Next.
Complete the information on the Objects page page of the Generate Database DDL from Entities Wizard and click Next.
Complete the information on the Save and Run DDL page page of the Generate Database DDL from Entities Wizard and click Next.
Review the information on the Summary page. If the information is correct, click Finish to generate the script. If not, click Back to change the necessary information.