1. Under Project Management > Entities click onCreate tables from JPA entities
  2. Under Persistence Unit, select the desired data source.
  3. In the following wizard, select the resources folder.

Generate complete database (Create table)

Application case:
  1. Input a name in the DDL File field, e.g. Create_CarsDB.ddl.
  2. Click Finish.


Result:
Parameter:

Execute only individual changes (update)

Application case:
  1. Input a name in the DDL File field, e.g. Update_CarsDB.ddl.
  2. Under Options, select the Update Schema option.
  3. Click on Finish.
Result:
Parameter:

Run DDL scripts

  1. Establish a connection to a data source.
  2. In Project Management > Resources, click on the name of the DDL file you want to run.
  3. In the SQL editor, use the TypeName, and Database drop-down menus to select the data source on which you want to run the DDL script.
  4. Right-click in the SQL editor and select context menu > Execute All.

Tips: